The easiest suggestion would be to store DRL in your database ;)<br><br>These is a (dieing) BRL XML format but I believe its use is discouraged (as it&#39;s essentially an XStream output of a object model).<br><br>You could also look at writing a persistence layer over FactModel which is the foregoing object model; to re-hydrate direct from structured database tables with an ORM.<br>
<br>Looking however at your example rules; I believe the simplest approach would be to write your own parser that generates DRL.<br><br>Have you considered Guvnor which would suit your needs ideally?<br><br>With kind regards,<br>
<br>Mike<br><br><div class="gmail_quote">2011/3/25 bilasini sahoo <span dir="ltr">&lt;<a href="mailto:s.bilasini@gmail.com">s.bilasini@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Hi All,</div>
<div>   I am new to this Drool rule ingine use.</div>
<div>Normal drl is working for me.</div>
<div>But mu requirement is i need to configure all the rules in Data base and from there i need to inject to the Rule engine.This is beacuse Rules can be configured any point of time.</div>
<div> </div>
<div>Please let me know if is there any special foemat of rule configuration is required so that creating rule file would be easier</div>
<div> </div>
<div>currently i have configured as</div>
<div> </div>
<div>(Company=CCC &amp;&amp; Organisation=OOO and Dept=HR) OR (Country=UK)</div>
<div>
<div>(Company=CCC &amp;&amp; Organisation=OOO )and (Dept=HR OR Country=UK)</div>
<div> </div>
<div> </div>
<div>please advice. I am stuck with this proble since 2days</div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div>Bilasini</div></div><font color="#888888">
<div> </div>
</font><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>
<br></blockquote></div><br>