hmmm.. interesting problem.<br><br>Well - how are the IDs mapped in now? as part of the rule name? you can definately access the rule name in the consequence of a rule. Yes in the BRMS each rule has a unique ID (UUID in fact - but that may not be that helpful for you). It sounds like you want more of a control fact - but I can&#39;t quite put my finger on it.
<br><br>DRL is fine going forward. There will be GUIs that guide editing in certain ways, but existing DRL can be added in.<br><br><div><span class="gmail_quote">On 3/20/07, <b class="gmail_sendername">Michael Rhoden</b> &lt;
<a href="mailto:mrhoden@franklinamerican.com">mrhoden@franklinamerican.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div><span><font face="Arial" size="2">We currently are 
using an older version of drools, 2.x maybe at the moment and have a few 
thousand rules that load through xml files. I have loaded all my old rules in 
the latest JBoss Rules version, but we have to eval() on most everything. It 
worked fine but this is not the path we want to continue for new rules 
repositories. We currently have a homebrew brms that handles the generation of 
&quot;RuleIDs&quot;. Given the xml standard has changed dramatically and it appears we 
would be better served writing new contextual rules in DRLs, does anyone have a 
suggestion as to manage large amounts of rules? The main 2 things I need 
are:</font></span>
</div>
<div><span><font face="Arial" size="2"></font></span>&nbsp;
</div>
<div><span><font face="Arial" size="2">1) A way to write 
rules that will give me unique IDs for each rule. The main need for this is to 
&quot;Override&quot; a rule. In our business (as in many) we have the need for rules to 
control business logic, IE &quot;amount &gt; 100&quot; then &quot;stop transaction&quot;. What we 
use today is a rules override system where certain business users can put in the 
rule Id and the transaction number and the rule that fires will be ignored 
moving forward. Just looking for a stop gap measure to auto generate rule ids, I 
guess I&#39;m hoping I&#39;ve overlooked a DRL plugin ;) Potentially I was wondering if 
the DRL Rule has an attribute to put a ruleID and once a consequence fired I 
could look up the ID.</font></span>
</div>
<div><span><font face="Arial" size="2"></font></span>&nbsp;
</div>
<div><span><font face="Arial" size="2">2) We want to use 
the new jbrms when it&#39;s released, but wondered what the most appropriate format 
for new rules would be. Meaning if I create DRL rules will I be able to import 
them in the new system? Will it create Rules IDs for these rules 
then?</font></span>
</div>
<div><span><font face="Arial" size="2"></font></span>&nbsp;
</div>
<div><span><font face="Arial" size="2">Thanks for the 
help.</font></span>
</div><span class="sg">
<div><span><font face="Arial" size="2"></font></span>&nbsp;
</div>
<div><span><font face="Arial" size="2">-Michael 
Rhoden</font></span>
</div></span></div><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>