One way to achieve this (with a little extra effort) would be to use a<br>DSL where you define START etc. as keywords with an expansion<br>to &quot;salience 100&quot; etc.<br>-W<br><br><div class="gmail_quote">On 4 May 2011 10:09, alebu <span dir="ltr">&lt;<a href="mailto:aleboo@gmail.com">aleboo@gmail.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;">Hi all,<br>
Is it possible to use a constant for salience instead of hardcoded<br>
value? It have a sence when you have many rules and only several<br>
salience level. They maybe more descriptive like START, VALIDATION,<br>
etc and easier to maintain in the future. If it not possible right<br>
now, then maybe it worth to request like feature request in the<br>
future?<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>
</blockquote></div><br>