Hi,<br>I was wondering if it's possible to pick up just a few rules from a drl file to create the RuleExecutionSet. Something like:<br><br>rules.drl ===><br>...<br><br>rule "r1"<br> ...<br>end<br><br>rule "r2"<br>
...<br>end<br><br>...<br>=============<br> <br>RunRules.java ===><br>...<br><br>List<String> rulesToRun = new ArrayList<String>();<br>rulesToTun.add("r1");<br><br>RuleExecutionSet ruleExecutionSet = ruleSetProvider.createRuleExecutionSet(ruleFileName, null, rulesToRun);<br>
ruleAdministrator.registerRuleExecutionSet("test.drl", ruleExecutionSet, null);<br><br>...<br>=============<br><br>I haven't found anything like that in the documentation. I'd really like that otherwsie I'll have to split the rules through many different files, which will be a bit of a havoc to unit test...<br>
<br>thanks in advance!<br>best regards,<br><br>-- <br>Lucas de Oliveira Arantes<br>