<!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=769042410-02072009><FONT face=Arial
color=#0000ff size=2>I believe you will need to add each DRL file into a single
RuleBase (Drools 4.x terminology; I think KnowledgeBase in 5.0 but I'm a little
rusty).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=769042410-02072009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=769042410-02072009><FONT face=Arial
color=#0000ff size=2>Don't forget rules aren't evaluated when "fireAllRules" is
called but as objects are inserted into WorkingMemory, so all rules need to be
compiled into a RuleBase before object insertion.</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> 02 July 2009 11:07<BR><B>To:</B>
rules-users@lists.jboss.org<BR><B>Subject:</B> [rules-users] How to call a
another drl file from one drl file<BR></FONT><BR></DIV>
<DIV></DIV>hi,<BR> I have requirement to execute a chain of rules.
One rule after another and they are reusable.I need to know how to call
another drl file from a drl file. or in a then part of the <BR> a
rule.<BR><BR>thanks<BR>Amila Silva<BR>
<BLOCKQUOTE
style="MARGIN: 1.5em 0pt"></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>