<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=620040508-06072009><FONT face=Arial
color=#0000ff size=2>If each rule is held within a unique agenda, you could use
agenda filters.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=620040508-06072009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=620040508-06072009><FONT face=Arial
color=#0000ff size=2>How would you determine which rule needs to be activated
though? You'd need some criteria hard-coded elsewhere in your application. Why
not make this part of the rules too?</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Amila
Silva<BR><B>Sent:</B> 03 July 2009 07:17<BR><B>To:</B>
rules-users@lists.jboss.org<BR><B>Subject:</B> [rules-users] How execute a
Single rule from rule file or rulepackage<BR></FONT><BR></DIV>
<DIV></DIV>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 href="http://www.hSenid.com">http://www.hSenid.com</A><BR><BR>Make it
Happen<BR><BR><BR><A
href="http://www.hSenidMobile.com">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></BLOCKQUOTE></BODY></HTML>