I ran into this unexpected behavior as well.  I took a look at the Drools 
source and found that the rule filters filter out rules that MEET the criteria 
(unlike the java Filename Filter, which filters out those that do NOT meet the 
criteria.

So, if you want to run a VERY specific rule, you could create something like 
RuleNameNotEqualsFilter, and that would ensure that all rules except the one 
you want to fire have no chance of firing.

Then, of course, you would want to make sure that the facts you assert meet the 
conditions you've set up in the LHS of the rule.

Matt


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to