<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>There is, but it's an undocumented internal API subject to change at any time.&nbsp; Generating DRL is the recommended way to create rules in this case.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Leonardo Gomes &lt;leonardo.f.gomes@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> rules-users@lists.jboss.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, October 19, 2009 8:56:14 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [rules-users] Creating rules from an UI<br></font><br>
Hi Guys,<div><br></div><div>I have an UI that allows users to create rules in admin interface of my application. I'm thinking about generating drl text out of the UI state (I'd have an object model that would be populated by it), but was wondering if there would be a way to&nbsp;programmatically&nbsp;create the rules instead of having this object-&gt;drl step.</div>
<div><br></div><div>Advice is welcome!&nbsp;</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Leo.</div>
</div></div></div><br>

      </body></html>