<div>The concept of &quot;executing a rule&quot; isn&#39;t useful. Rules are written to fire</div>
<div>whenever their conditions are met by some set of facts. So, if all of your</div>
<div>rules fire, then all conditions are met.</div>
<div> </div>
<div>Consider the condition defining the single rule you want to fire. Can this</div>
<div>condition be derived from one or more fields in your facts? If so, add these</div>
<div>conditions to the rule and the complementary condition to all other rules.</div>
<div>If not, you may have to add yet another fact containing that data, so that</div>
<div>you can proceed likewise, using the added fact.</div>
<div> </div>
<div>OTOH, it might be possible that a rule-based system isn&#39;t well suited for</div>
<div>what you want to do.</div>
<div> </div>
<div>-W<br><br> </div>
<div><span class="gmail_quote">On 7/3/09, <b class="gmail_sendername">Amila Silva</b> &lt;<a href="mailto:amilac@hsenidmobile.com">amilac@hsenidmobile.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi everyone,<br><br>  I have a requirement like execute a single rule from set of loaded rule files or single rule from single drl file.<br>
 when i execute fireAllRules() it executes the all the rules in the files. even that overloaded method that take int as agrs also<br> seems doesnt help much. <br> let me know if any body gone thru this kind of senarios.<br>

<blockquote style="MARGIN: 1.5em 0pt"></blockquote><br><br><br clear="all"><br>-- <br>Thanks,<br>Regrads,<br><br>Amila Silva,<br>Associate Software Engineer<br><br>hSenid Mobile Solutions<br><br>Phone : <br>+94-77-9983894<br>
Fax     : <br>+94-11-2673 845<br><br>Web: <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hsenid.com/" target="_blank">http://www.hSenid.com</a><br><br>Make it Happen<br><br><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hsenidmobile.com/" target="_blank">http://www.hSenidMobile.com</a><br>
<br>Enabling the Mobile World<br><br><br>Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. The content and opinions contained in this email are not necessarily those of hSenid Software International. If you have received this email in error please contact the sender.<br>
<br><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" 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>