<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">As a RETE network is being created, DRL
Rules are parsed into an internal "descriptor" structure (a high
level AST)<br>
and then compiled into a RETE. <br>
<br>
There are "APIs" to create rules at the descriptor level: this can
then be "dumped" back into DRL.<br>
To work at the DRL level directly, it's common to use parametric
"templates".<br>
<br>
If your internal (meta)model is object oriented, you could
consider using DRL rules to write the translators :)<br>
<br>
Davide<br>
<br>
p.s. could you provide some more information about your use case?
I'm doing some research on rule authoring<br>
environments right now. Thanks!<br>
<br>
<br>
<br>
On 03/19/2013 09:54 AM, Michael Anstis wrote:<br>
</div>
<blockquote
cite="mid:CAAG9P0vNcnOh36UkLHTdXEL8pG4WknkjufT6pyoooHV7x_CbrQ@mail.gmail.com"
type="cite">Rules are DRL that is a String. <br>
<br>
Where and how you choose to store the String is up to you.<br>
<br>
Please try to explain what you want to achieve a little more.<br>
<br>
<div class="gmail_quote">On 19 March 2013 12:49, kurrent93 <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:kurrent93@gmail.com" target="_blank">kurrent93@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">HI all<br>
<br>
Is there any samples or documentation for reading and writing
of rules?<br>
<br>
The user case is we are trying to build a custom Rule Editor,
and thus would<br>
like to write and read rules to/from our beans.<br>
<br>
Thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874.html"
target="_blank">http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874.html</a><br>
Sent from the Drools: User forum mailing list archive at
Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</body>
</html>