try simply:<br><br>rule &quot;Your First Rule&quot;<br>    
dialect &quot;mvel&quot;<br>     when<br>          Message(message == &quot;Hello&quot;  )<br>     then<br>          System.out.println(&quot;First Rule fired    &quot;);<br>
end<br><br><div class="gmail_quote">On Mon, Oct 26, 2009 at 6:34 AM, <a href="http://satyasri.ch">satyasri.ch</a> <span dir="ltr">&lt;<a href="http://satyasri.ch">satyasri.ch</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi ,<br>
<br>
I am doing the sample drools project.<br>
<br>
Below are the sample rule and Fact class.<br>
<br>
when Running from eclipse ide both rules are working fine.<br>
Where as running the rule outside eclipse  ide only second rule fired .<br>
<br>
Suggest me any ideas<br>
<br>
<br>
----------------------------------------------------------<br>
package test<br>
import test.Message;<br>
<br>
<br>
rule &quot;Your First Rule&quot;<br>
dialect &quot;mvel&quot;<br>
when<br>
m:Message(  )<br>
eval(m.getMessage() == &quot;Hello&quot;)<br>
then<br>
System.out.println(&quot;First Rule fired    &quot;);<br>
end<br>
<br>
rule &quot;Your Second Rule&quot;<br>
dialect &quot;mvel&quot;<br>
when<br>
eval(true)`<br>
then<br>
System.out.println(&quot;Second Rule fired    &quot;);<br>
end<br>
<br>
------------------------<br>
<br>
package test;<br>
public class Message{<br>
private String message;<br>
public String getMessage(){<br>
return this.message;<br>
}<br>
<br>
public void setMessage(String message) {<br>
this.message = message;<br>
}<br>
<br>
}<br>
<br>
<br>
Thanks,<br>
Satyasri.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Rule-is-not-firing-tp26056180p26056180.html" target="_blank">http://www.nabble.com/Rule-is-not-firing-tp26056180p26056180.html</a><br>
</font><div><div></div><div class="h5">Sent from the drools - user mailing list archive at Nabble.com.<br>
<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><br>
</div></div></blockquote></div><br>