<div>Thanks Jervis!!<br><br></div>
<div class="gmail_quote">On Sun, Feb 21, 2010 at 7:05 PM, Jervisliu <span dir="ltr">&lt;<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">A new feature called &quot;Sharable artifacts/Global artifacts&quot; will be<br>available in Drools 5.1. This feature allows you share an asset among<br>
different packages. It also creates a global area (you can consider it<br>as a global package). Potentially you can promote an asset that you<br>think is more appropriate to be defined in a global scope from your<br>current package to the global area, so that this global asset can be<br>
reused by every package. This feature is already on trunk, maybe you<br>want to give it a try. Any comments or feedbacks will be highly<br>appreciated.<br><br>Cheers,<br>Jervis<br>
<div>
<div></div>
<div class="h5"><br><br>Amit Kumar wrote:<br>&gt; Hello All,<br>&gt;<br>&gt; I am looking to organize the rules in different categories. But for<br>&gt; distribution purposes We are creating packages for different<br>&gt; roles/processing phases<br>
&gt;<br>&gt; So a rule will reside in one pckage but for navigation it can belong<br>&gt; to multiple categories<br>&gt;<br>&gt; So packages are like Shirts, Pants, Shoes, Sweaters<br>&gt; Categories are Color, Material, Size, Gender and those have sub<br>
&gt; categories witin them<br>&gt;<br>&gt; We have rules which will device the category of the item<br>&gt; Like &quot;red rule&quot;, &quot;blue rule&quot;, &quot;cloth rule&quot;, leather rule&quot;<br>&gt;<br>&gt; Now the problem we are facing is for category rules is if I define the<br>
&gt; rule in Shirt package .. then I will not be able ot use it in Pant<br>&gt; package.. Will have to redefine it.<br>&gt;<br>&gt; The other problem in this scenario is If I have a price rule in Shirt<br>&gt; package and the category is &quot;Blue Color&quot; and &quot;XL Size&quot; then I will<br>
&gt; have to put it in both categories<br>&gt; When I put the &quot;Blue Rule&quot; on &quot;Blue Category&quot; and &quot;XL Rule&quot; on &quot;XL<br>&gt; Category&quot;  and I put the rule in both categories.. will it be an &quot;and&quot;<br>
&gt; relationship or will be an &quot;OR&quot;<br>&gt;<br>&gt; Regards,<br>&gt; Amit<br></div></div>&gt; ------------------------------------------------------------------------<br>
<div>
<div></div>
<div class="h5">&gt;<br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br><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>