<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-MailFormatvorlage21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.9pt 70.9pt 2.0cm 70.9pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Thx Edson – letīs
try tomorrow ;-)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b><span style='font-weight:bold'>Im Auftrag von </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 24. September
2007 21:05<br>
<b><span style='font-weight:bold'>An:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [rules-users] JBoss
AS 4.0.5 GA + Drools 4.0.1</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
I updated the wiki page with the API code for Drools 4.x:<br>
<br>
<a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesTomcat">http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesTomcat</a><br>
<br>
[]s<br>
Edson<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2007/9/24, Guardian <<a href="mailto:d.h.j.@gmx.de">d.h.j.@gmx.de</a>>:</span></font></span><o:p></o:p></p>
<div link=blue vlink=blue>
<div>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>Let me get this right, i musst use the
JANINO-Compiler to avoid problems with <st1:place w:st="on"><st1:City w:st="on">JBoss</st1:City>
<st1:State w:st="on">AS</st1:State></st1:place> resp. Tomcat?</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<pre><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>There is another problem: the </span></font><font
color=black><span style='-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial;background-attachment:scroll;
background-position-x:0%;background-position-y:50%'><span lang=EN-GB
style='color:black;background:silver'><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
color:black;background:silver'>PackageBuilderConfiguration</span></span></font><font
color=black><span lang=EN-GB style='color:black'>-Method "</span></font><span
lang=EN-GB>setCompiler(PackageBuilderConfiguration.JANINO)" does not exists in Drools 4.0.1<o:p></o:p></span></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> </span><o:p></o:p></font></pre>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>Von:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<b><span style='font-weight:bold'>Im Auftrag von </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 24. September
2007 15:48<br>
<b><span style='font-weight:bold'>An:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [rules-users] JBoss
AS 4.0.5 GA + Drools 4.0.1</span></font><o:p></o:p></p>
</div>
<div><span id="q_11537f6f0cd974c5_1">
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
This is a known conflict between JDT versions used by tomcat
and drools.<br>
<br>
<a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesTomcat" target="_blank">http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesTomcat</a><br>
<br>
[]s <br>
Edson<o:p></o:p></span></font></p>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>2007/9/24,
Guardian <<a href="mailto:d.h.j.@gmx.de" target="_blank">d.h.j.@gmx.de</a>
>:<o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>Hello,</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>I have many problems to integrate Drools in my existing Application that
is running on JBoss AS 4.0.5 GA. </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>When I try to load and execute the rule-file I get the following
Exception:</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><u><font size=2 color=navy face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:navy'>java.lang.RuntimeException</span></font></u><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> : java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;</span></font><span
lang=EN-GB> </span><o:p></o:p></p>
<p><u><font size=2 color=navy face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:navy'>javax.ejb.EJBException</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'> : </span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>java.lang.RuntimeException</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'> : java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;</span></font><span
lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> Ejb3TxPolicy.java:69</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> TxPolicy.java:83</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aspects.tx.TxInterceptor$Required.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> TxInterceptor.java:191</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> MethodInvocation.java:101</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> TxPropagationInterceptor.java:76</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><span lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> MethodInvocation.java:101</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>StatelessInstanceInterceptor.java:62</span></font></u><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> </span></font></u><font size=2
color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> MethodInvocation.java:101</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aspects.security.AuthenticationInterceptor.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>AuthenticationInterceptor.java:77</span></font></u><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> </span></font></u><font size=2
color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>Ejb3AuthenticationInterceptor.java:102 </span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><span lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> MethodInvocation.java:101</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> ENCPropagationInterceptor.java:47</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><span lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> MethodInvocation.java:101</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> AsynchronousInterceptor.java:106</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><span lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> MethodInvocation.java:101</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> StatelessContainer.java:263</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aop.Dispatcher.invoke(</span></font><u><font size=2 color=navy
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:navy'> Dispatcher.java:106</span></font></u><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'> </span></font><font size=2 color=red face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>AOPRemotingInvocationHandler.java:82 </span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><span lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.remoting.ServerInvoker.invoke(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> ServerInvoker.java:828</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.remoting.ServerInvoker.invoke(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'> ServerInvoker.java:681</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.remoting.transport.socket.ServerThread.processInvocation(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>ServerThread.java:358</span></font><span
lang=EN-GB> </span></u><font size=2 color=red face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.jboss.remoting.transport.socket.ServerThread.dorun(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>ServerThread.java:412</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'> </span></font><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>My Application consists of the following parts:</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>The rule-file:</span></font><o:p></o:p></p>
<p><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>#created on:
04.09.2007</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#960000;font-weight:
bold'>package</span></font></b><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>
drools.rules</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>#list any import
classes here.</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#960000;font-weight:
bold'>import</span></font></b><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>
drools.session.Message;</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>#declare any
global variables here</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#960000;font-weight:
bold'>rule</span></font></b><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><font
size=2 color=green face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:green'>"Hello World"</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>when</span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
m : Message( status == Message.HELLO, message : message )</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>then</span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
System.out.println( message ); </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
m.setMessage( </span></font><font size=2 color=green face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:green'>"Goodbye
cruel world"</span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'> );</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
m.setStatus( Message.GOODBYE );</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>update</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>( m
);</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#960000;font-weight:
bold'>end</span></font></b><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#960000;font-weight:
bold'>rule</span></font></b><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><font
size=2 color=green face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:green'>"GoodBye"</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>no-loop</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>true</span></font></b><b><font size=2 color="#960000"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:#960000;font-weight:bold'> </span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>when</span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
m : Message( status == Message.GOODBYE, message : message )</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>then</span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>System.out.println(
message ); </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
m.setMessage( message );</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New";color:#960000;font-weight:bold'>end</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>a Class to encapsulate the rule-initialisation and rule-execution
(wrapper-Class):</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><b><font size=2 color="#7f0055" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=2 color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'>class</span></font></b><b><font
size=2 color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'> </span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>RuleEngineWrapper </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>{</span></font><span
lang=EN-GB> </span><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>private</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>WorkingMemory
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>workingMemory</span></font><font
size=2 color="#0000c0" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#0000C0'> </span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>;</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>private</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>boolean</span></font></b><b><font size=2 color="#7f0055"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'> </span></font></b><font size=2 color="#0000c0"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:#0000C0'>debugMode</span></font><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> = </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>false</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>;</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>private</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>DebugAgendaEventListener
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>debugListener </span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>;</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>public</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>RuleEngineWrapper(WorkingMemory
wm) {</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>this</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>.</span></font><font
size=2 color="#0000c0" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#0000C0'> workingMemory</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> = wm;</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>debugListener</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> = </span></font><b><font size=2
color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>new</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>DebugAgendaEventListener();</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>/**</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>construct</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>a</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>RuleEngineWrapper</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>with</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>only</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>a</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>rule</span></font><font size=2
color="#7f7f9f" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F7F9F'> -</span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'> file</span></font><font size=2
color="#7f7f9f" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F7F9F'> -</span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'> name,</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>no</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>idea</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>of</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>callers'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>class.</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>Assume</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>the</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>rule</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>file</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>is</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>located</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><b><font size=2
color="#7f9fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F9FBF;font-weight:bold'>@param</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>rulesFile</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*/</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>public</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>RuleEngineWrapper(String
rulesFile) {</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>this</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>(RuleEngineWrapper.</span></font><b><font
size=2 color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'> class</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, rulesFile);</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>/**</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>construct</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>a</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>RuleEngineWrapper</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>with</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>only</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>a</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>calling</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>object</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>known</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=2 color="#7f9fbf"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#7F9FBF;font-weight:bold'>@param</span></font></b><font size=2
color=black face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>caller</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=2 color="#7f9fbf"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#7F9FBF;font-weight:bold'>@param</span></font></b><font size=2
color=black face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>rulesFile</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*/</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>public</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>RuleEngineWrapper(Object
caller, String rulesFile) {</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>this</span></font></b><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>
(caller.getClass(), rulesFile);</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
}</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>/**</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>construct</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>a</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>RuleEngineWrapper</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>with</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>Class</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>caller</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>and</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>rule</span></font><font size=2
color="#7f7f9f" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F7F9F'> -</span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'> file</span></font><font size=2
color="#7f7f9f" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F7F9F'> -</span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'> name</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>known.</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>We</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>load</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>the</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>rule</span></font><font size=2
color="#7f7f9f" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F7F9F'> -</span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'> file</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>as</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>classpath</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>resource.</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=2 color="#7f9fbf"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#7F9FBF;font-weight:bold'>@param</span></font></b><font size=2
color=black face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>caller</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=2 color="#7f9fbf"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#7F9FBF;font-weight:bold'>@param</span></font></b><font size=2
color=black face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>rulesFile</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*/</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>public</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>RuleEngineWrapper(Class
caller, String rulesFile) {</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>super</span></font></b><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'> ();</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>try</span></font></b><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'> {</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>final</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>PackageBuilder
builder = </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>new</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> PackageBuilder(); </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>System.</span></font><i><font
size=2 color="#0000c0" face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:#0000C0;font-style:italic'> out</span></font></i><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> .println(caller);</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
builder.addPackageFromDrl(</span></font><b><font size=2 color="#7f0055"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'> new</span></font></b><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'> InputStreamReader(caller</span></font><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>
.getResourceAsStream(rulesFile)));</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>final</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>RuleBase
ruleBase = RuleBaseFactory.<i><span style='font-style:italic'>newRuleBase </span></i>();</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>ruleBase.addPackage(builder.getPackage());</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>workingMemory</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> = ruleBase.newStatefulSession();</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>debugListener</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> = </span></font><b><font size=2
color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>new</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>DebugAgendaEventListener();</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
} </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>catch</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>(Exception
e) {</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
System.</span></font><i><font size=2 color="#0000c0" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;
font-style:italic'> out</span></font></i><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>.println(</span></font><font
size=2 color="#2a00ff" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#2A00FF'> "cannot read rule file:
" </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>+
rulesFile);</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>/**</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>Allow</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>to</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>add</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>arbitrary</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>objects</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>as</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>facts.</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>Users</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>can</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>add</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>any</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>objects</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>to</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>workingMemory</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><b><font size=2
color="#7f9fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F9FBF;font-weight:bold'>@param</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>o</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>
</span></font><font
size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#3F5FBF'>the</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>fact</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>to</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>be</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>added</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*/</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>public</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>void</span></font></b><b><font size=2 color="#7f0055"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'> </span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>addFact(Object o) {</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>workingMemory</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> .insert(o);</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>/**</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>Execute</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#3f5fbf" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#3F5FBF'>rules.</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f5fbf" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF'>*/</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>public</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>void</span></font></b><b><font size=2 color="#7f0055"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'> </span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>executeRules() {</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#0000c0" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>workingMemory</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> .fireAllRules();</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><o:p></o:p></p>
</div>
</div>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>...<br>
<br>
[Mensagem cortada] <br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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><o:p></o:p></span></font></p>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Edson Tirelli<br>
Software Engineer - JBoss Rules Core Developer<br>
Office: +55 11 3529-6000<br>
Mobile: +55 11 9287-5646<br>
JBoss, a division of Red Hat @ <a href="http://www.jboss.com"
target="_blank">www.jboss.com</a> <o:p></o:p></span></font></p>
</div>
</div>
</div>
</span>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><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><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Edson Tirelli<br>
Software Engineer - JBoss Rules Core Developer<br>
Office: +55 11 3529-6000<br>
Mobile: +55 11 9287-5646 <br>
JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>
<o:p></o:p></span></font></p>
</div>
</body>
</html>