Glad you&#39;re reading the documents - you&#39;d be surprised how many people asking questions do not!<br><br>You can put off DSL until you&#39;re happy your rules are working, off course - in fact, IMO, it&#39;s easier to &quot;debug&quot; rules without the additional abstraction.<br>
<br>You&#39;re first rule looks better - although I&#39;d still be inclined to look at no-loop rather than the check yourself (what if you need the new value to be dynamic; i.e. not just statically &quot;value&quot;? Your rules would become cumbersome).<br>
<br>The second rule does not associate StringHolder to any particular Child instance (although easily added); so you&#39;d get the cross-product of StringHolders and Child facts; not I suspect what you&#39;d want.<br><br>
Cheers,<br><br>Mike<br><br><div class="gmail_quote">On 6 December 2010 10:36, Gabor Szokoli <span dir="ltr">&lt;<a href="mailto:szocske@gmail.com">szocske@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks for the instant response!<br>
<br>
2010/12/6 Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt;:<br>
<div class="im">&gt; The drools-expert documentation would be a good starting point; otherwise<br>
&gt; Wikipedia has a good overview of the RETE algorithm (all be it Drools has<br>
&gt; its own extensions).<br>
<br>
</div>I&#39;m reading the documentation thoroughly of course, but it seems to be<br>
centered about using the system and writing rules. Which is how it<br>
should be, don&#39;t get me wrong :-)<br>
I&#39;m just hoping for some spoilers like &quot;Section X will detail how java<br>
object are mapped to WMEs.&quot;<br>
<div class="im"><br>
&gt; Regarding your specifics; you could look into using a DSL for the domain<br>
&gt; experts rather than pure DRL. Also, the no-loop attribute could\should help<br>
&gt; with your looping fear (have a look in the documentation).<br>
<br>
</div>Can I put off the DSL part for later, and consider it just an extra<br>
layer of rule file parsing for now?<br>
Do I lose the graphical on-line editor features of Guvnor (which I<br>
admittedly have not looked into yet, just salivated over some<br>
screenshots.) if I make a DSL?<br>
<div class="im"><br>
&gt; A rather disturbing example you choose to show in your email; I think I<br>
&gt; prefer the &quot;Cheese&quot; centric types in the documentation :)<br>
<br>
</div>Other than the attention-whoring double take in nomenclature, does<br>
that rule pattern look OK?<br>
<br>
I&#39;ll stick with cheese in the future :-)<br>
<br>
<br>
Thanks Again!<br>
<div><div></div><div class="h5"><br>
Gabor Szokoli<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>
</div></div></blockquote></div><br>