You can&#39;t do this with [when] or [then] entries, but try [keyword]. It also works with parameters.<br><br>For instance:<br>[keyword]precondition {title}=rule {title}\nsalience 100\nwhen<br><br>-W<br><br><div class="gmail_quote">
On 26 October 2011 14:21, gcautiero <span dir="ltr">&lt;<a href="mailto:gianfranco.cautiero@truvo.com">gianfranco.cautiero@truvo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I&#39;m not able to find a way to define in my DSL a phrase to add metadata for<br>
a certain rule.<br>
I&#39;m interested to provide something that can help end user to add<br>
data-effective metadata for some rule in the DSLR file.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/dsl-and-metadata-rule-information-tp3454282p3454282.html" target="_blank">http://drools.46999.n3.nabble.com/dsl-and-metadata-rule-information-tp3454282p3454282.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</font></blockquote></div><br>