Hi Guys,<div><br></div><div>We are incorporating rules engine into our project.</div><div><br></div><div>As part of this we will building a web based rules UI to be used by our customers to create/edit rules (aka Guvnor, but not as generic and full fledged) . All of the rules will be persisted to DB.</div>

<div><br></div><div>We have prototyped the getting the rules of of DB and invoking rules engine on the loaded rules part, which was working.</div><div><br></div><div>Now I&#39;m prototyping the create and persist rule to DB part.</div>

<div><br></div><div>I was looking through the <b>drools-compiler</b> and <b>drools-template </b>APIs to see the classes I should be using to do this. </div><div><br></div><div>I have the following questions.</div><div><ol>

<li>We have decided to save the rules into the DB as DRL, is this the right approach</li><li>Which of <b>drools-compiler </b>and <b>drools-template </b>has the appropriate API for creating a rule element in memory and parse it into DRL (to be stored in DB), </li>

<ol><li>Am I looking at the right projects for the job or should I be looking somewhere else?</li><li>I&#39;m looking through the api, but any pointers/articles which will help me through will be appreciated.</li></ol></ol>

</div><div>Cheers</div><div>Kishore</div>