<div>Thanks Michael for the quick reply</div>
<div>I don&#39;t see that anywhere in the documentation and when I do a view package source then I do not see any extends keyword.</div>
<div>Can you point me to some documentaion in this regards on how it works.</div>
<div> </div>
<div>Thanks</div>
<div>Amit<br><br></div>
<div class="gmail_quote">On Thu, Feb 11, 2010 at 5:00 PM, Michael Rhoden <span dir="ltr">&lt;<a href="mailto:mrhoden@franklinamerican.com">mrhoden@franklinamerican.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">The category rule should just extend all child rules in that category.<br>If all is working your generated DRL should have &quot;extends&quot; in the<br>
&quot;tax&quot; (etc) rules.<br><br>-Michael<br>
<div>
<div></div>
<div class="h5"><br>On Feb 11, 2010, at 6:33 PM, Amit Kumar &lt;<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>&gt; wrote:<br><br>&gt; Hi Folks,<br>&gt;<br>&gt; I am looking at the category rules and have a scenario to use it.<br>
&gt; Goes like this<br>&gt;<br>&gt; Person<br>&gt;    Name  String<br>&gt;    City     String<br>&gt;    income  int<br>&gt;<br>&gt; I want to categorize the rules in states<br>&gt;<br>&gt; -US<br>&gt;    -- NewYork<br>&gt;    -- Seatle<br>
&gt;    -- SanFrancisco<br>&gt;<br>&gt;<br>&gt; I have created 3 rules<br>&gt; rule &quot;people living in NY&quot;<br>&gt; when<br>&gt;    Person(city=&quot;NewYork&quot;<br>&gt; then<br>&gt; end<br>&gt;<br>&gt; rule &quot;people living in Seatle&quot;<br>
&gt; when<br>&gt;    Person(city=&quot;Seatle&quot;<br>&gt; then<br>&gt; end<br>&gt;<br>&gt; rule &quot;people living in SFO&quot;<br>&gt; when<br>&gt;    Person(city=&quot;SanFrancisco&quot;<br>&gt; then<br>&gt; end<br>&gt;<br>
&gt; I associated the above rules with appropriate categories<br>&gt;<br>&gt;<br>&gt; Then I create tax rules<br>&gt;<br>&gt; rule &quot;ny tax&quot; -- category &quot;NewYork&quot;<br>&gt; when<br>&gt;    Person()<br>&gt; then<br>
&gt;   Log .. Tax = 10%<br>&gt; end<br>&gt;<br>&gt; rule &quot;WA tax&quot; -- category &quot;Seatle&quot;<br>&gt; when<br>&gt;    Person()<br>&gt; then<br>&gt;   Log .. Tax = 20%<br>&gt; end<br>&gt;<br>&gt; rule &quot;ny tax&quot; -- category &quot;NewYork&quot;<br>
&gt; when<br>&gt;    Person()<br>&gt; then<br>&gt;   Log .. Tax = 10%<br>&gt; end<br>&gt;<br>&gt;<br>&gt;<br>&gt; When I create a object in test scenario of person type .. then all<br>&gt; the rules get executed..  The category rule is not having any effect<br>
&gt;<br>&gt; Is there any documentation on how this works??<br>&gt;<br>&gt; Thanks<br>&gt; Amit<br></div></div>&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>_______________________________________________<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>