is it possible to extend a rule using a specified set of parameters or pass parameters into a rule in Drools?
问题 I have a large number of almost duplicate rules to implement. They are the exact same but the right hand sides are slightly different. eg rule "AS77" extends "IVD01" @description(" IF Individual Identifier = E, THEN Other Description is required. ") when $source : Owner($errCode : "427") then end rule "AS78" extends "IVD01" @description(" IF Individual Identifier = E, THEN Other Description is required. ") when $source : JntOwner($errCode : "428") then end rule "IDV01" @description("IF