Luck you! :) So, don't generate any eval!! ;)
Seriously speaking now, RuleModel is used by a rule modeler in the new BRMS stuff and is evolving... right now it supports only a subset of all DRL features. Also, they suffer from restrictions since they are GWT compiled into javascript.
If you want to do anything you do in a DRL when generating your rules, you need to use the descriptor classes instead:
org.drools.lang.descr.*
[]s
Edson
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com