This doesn&#39;t look like it would be a simple transformation for the rules;<br>but it depends on the logic hidden in the functions when and $relTime.<br><br>The part after THEN may be a plain method call, or require the insertion<br>
of a new fact.<br><br>Read some of the Drools Expert documentation, and you should get<br>an idea what is required for a Drools system to work.<br><br>Consider that 5000+ is a large number. Estimate the time it&#39;ll take you<br>
to transform one rule: Will you be able to spend, say, 3 months for this<br>task?<br>-W<br><br><br><div class="gmail_quote">2010/10/31 Nirmal Fernando <span dir="ltr">&lt;<a href="mailto:nirmal070125@gmail.com">nirmal070125@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Something like following 2 rules:<br><br># IF when($Awareness,$var0) THEN ^1_Awareness:Time($Awareness,$var0)<br>
# IF $relTime($Awareness,$Time) THEN ^1_Awareness:Time($Awareness,$Time)<br><br>thanks.<br><br><div class="gmail_quote">
2010/10/31 Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

What, exactly, do you mean by &quot;hand written&quot;? Java statements? Another Rule System?<br>Can you provide a sample?<br><br><br><div class="gmail_quote">2010/10/31 Nirmal Fernando <span dir="ltr">&lt;<a href="mailto:nirmal070125@gmail.com" target="_blank">nirmal070125@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hi,<br><br>I am having a 5000+ hand written rules which is used in an open source project.<br>


I am searching for the reasons, me to be shifted to a rule engine like Drools, instead of using hand written once.<br>Drools rules can be debugged that will be a plus point, isn&#39;t it? I would love to get a list of benefits that I will be getting.<br>



<br>Thanks. <br clear="all"><br>-- <br>Best Regards,<br>Nirmal<br><br>C.S.Nirmal J. Fernando<br>Department of Computer Science &amp; Engineering,<br>Faculty of Engineering,<br>University of Moratuwa,<br>Sri Lanka.<div><br>



</div><div>Blog: <a href="http://nirmalfdo.blogspot.com/" target="_blank">http://nirmalfdo.blogspot.com/</a></div><br>
<br></div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Best Regards,<br>Nirmal<br><br>C.S.Nirmal J. Fernando<br>Department of Computer Science &amp; Engineering,<br>Faculty of Engineering,<br>
University of Moratuwa,<br>Sri Lanka.<div>
<br></div><div>Blog: <a href="http://nirmalfdo.blogspot.com/" target="_blank">http://nirmalfdo.blogspot.com/</a></div><br>
</div></div><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>