I would say to have a Map&lt;String, KBase&gt; where the keys are &quot;AndroGel&quot;, &quot;Another Thing&quot;, etc and the value is the kbase containing only the rules that apply to that particular product.<div><br></div>

<div>Best Regards <br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 5:08 PM, Rana <span dir="ltr">&lt;<a href="mailto:ven12344@yahoo.com" target="_blank">ven12344@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This is what I want<br>
<br>
If the Generic Name is AndroGel, then focus on firing AndroGel rules only,<br>
non other. If it is not AndroGel, it should check for other Generic Name and<br>
if it matched it should only focus on firing that rules only.<br>
<br>
rule &quot;AndroGel Generic Name&quot;<br>
        no-loop true<br>
        auto-focus true<br>
        salience 100<br>
    when<br>
       eval( droolsRequest.drug.genericName == &quot;AndroGel&quot; )<br>
    then<br>
       drools.getWorkingMemory().setFocus(&quot;AndroGel&quot;);<br>
end<br>
<br>
Thanks.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-fire-rules-of-a-specific-rule-file-from-ChangeSet-tp4019282p4019314.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-fire-rules-of-a-specific-rule-file-from-ChangeSet-tp4019282p4019314.html</a><br>


<div class="HOEnZb"><div class="h5">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">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>
</div></div></blockquote></div><br></div>