hello, <br>first sorry for my bad english<br>when I execute the code<br><span style="font-weight: bold;">rule "sample1"</span><br style="font-weight: bold;"><span style="font-weight: bold;">when</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $P: User($name : name, email matches ".*@bull.net")</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $role :Role</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">then</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $role.addUser($P);</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;end<br><br>User and Role are JavaBean<br></span><br>error is
 affiched<br><br><span style="background-color: rgb(255, 0, 0);">Exception in thread "main" org.drools.rule.InvalidRulePackage: unknown:12:0 mismatched token: [@78,169:172='then',&lt;33&gt;,12:0]; expecting type '('</span><br style="background-color: rgb(255, 0, 0);"><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at org.drools.rule.Package.checkValidity(Unknown Source)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at org.drools.jsr94.rules.admin.RuleExecutionSetImpl.&lt;init&gt;(Unknown Source)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at
 org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at com.sample.Rule.fireRules(Rule.java:41)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; at com.sample.Rule.fireRules(Rule.java:70)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0,
 0);">&nbsp;&nbsp;&nbsp; at com.sample.DroolsTest.main(DroolsTest.java:34)</span><br style="background-color: rgb(255, 0, 0);"><br style="background-color: rgb(255, 0, 0);">Best regard<br>Ismail<br style="background-color: rgb(255, 0, 0);"><span style="font-weight: bold; background-color: rgb(255, 0, 0);"><br style="font-weight: bold;"></span><br><p>&#32;
                <hr size="1"> 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.