The hairy catchword in the post is &quot;only&quot;.<br><br>Most of the time, it&#39;s best to design the conditions so that only one rule will reach the agenda.<br><br>If this is too circumstantial, salience might be used to let the &quot;special&quot; case fire before the &quot;general&quot; case; but then something must be done to remove the activation of the latter. You can, for instance, retract the (a) contributing fact. Or mark it and include &quot;not marked&quot; in all conditions. Or...  <br>
<br>-W<br><br><br><div class="gmail_quote">2011/6/28 Manuel Ortiz <span dir="ltr">&lt;<a href="mailto:manuel.ortizramos@gmail.com">manuel.ortizramos@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello itchupe:<div><br></div><div>I think you mean what in Drools is called SALIENCE.</div><div><br></div><div>Look for that rule attribute in..</div><div><br></div><div><a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch04.html#d0e3573" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch04.html#d0e3573</a></div>

<div><br></div><div>Best regards,</div><div><br></div><font color="#888888"><div>Manuel Ortiz.</div></font><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">2011/6/28 itchupe <span dir="ltr">&lt;<a href="mailto:itchupe@gmail.com" target="_blank">itchupe@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello there<br>
<br>
I am new to all drools...<br>
How can I &#39;mutex&#39; in drools? Or could you suggest a better concept for that?<br>
(i mean, when two rules would fire : rule1 and rule2 in agenda<br>
the mutex is checked and             : mutex for this case is defined, rule1<br>
= higher, rule2 = lower prio<br>
only the one rule with higher priority will be executed)<br>
<br>
<br>
Cheers. Please let me know if my question is understandable...<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/MUTEX-mutual-exclusion-in-Drools-tp3117430p3117430.html" target="_blank">http://drools.46999.n3.nabble.com/MUTEX-mutual-exclusion-in-Drools-tp3117430p3117430.html</a><br>


Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>