<!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.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=128125307-07042008><FONT face=Arial
color=#0000ff size=2>If you cannot combine the rules into new rules I would
suggest looking at rule flow.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 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>Chong Minsk
Goh<BR><B>Sent:</B> 04 April 2008 10:57<BR><B>To:</B>
rules-users@lists.jboss.org<BR><B>Subject:</B> [rules-users] Rules File Design
Consideration<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Any help to the problem below is much appreciated : )</DIV>
<DIV> </DIV>
<DIV>Here is the problem:</DIV>
<DIV> </DIV>
<DIV>I have a set of rules. Intially these rules are evaluated individually.
However, now there is a need to fire these rules in groups which is similar to
a logic gate AND or OR. And, the results of this "groups of rules" are
collected and returned to the user/</DIV>
<DIV> </DIV>
<DIV>For example:</DIV>
<DIV> </DIV>
<DIV>There are 4 rules:</DIV>
<DIV>Rule 1</DIV>
<DIV>Rule 2</DIV>
<DIV>Rule 3</DIV>
<DIV>Rule 4</DIV>
<DIV> </DIV>
<DIV>Now, need to evaluate (Rule 1 AND Rule 2 AND Rule 3) OR Rule
4 </DIV>
<DIV>And I need to know what are the results of Rule 1 to Rule 4
individually.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>What is the best way to implement a AND or OR using Drools?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Best regards</DIV>
<DIV>Chong Minsk</DIV></BLOCKQUOTE></BODY></HTML>