Salience is just one way to force the evaluation of a condition before others. In fact, using salience throughout is just a way of re-creating a sequence of plain old if statements using a rules engine.<br><br>I'm not going to waste my time and yours by elaborating on possible alternatives unless you come up with a detailed description of your rules, and how you run your rules engine: fact insertion, calls to fire, etc.<br>
<br>-W<br><br><div class="gmail_quote">2012/1/10 Shweta1986 <span dir="ltr"><<a href="mailto:shweta.a.thakkar@gmail.com">shweta.a.thakkar@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
I am not sure I understand that. What is the other option for this case. Why would simple rules not work for 20 K rules. Am I missing something. I cannot use database to store my rules. Drools also gives me salience which I need for my usecase. <br>
<br><div class="gmail_quote">On Thu, Jan 5, 2012 at 11:29 PM, laune [via Drools] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=3646449&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></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">
        2012/1/6 Shweta1986 <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=3637255&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span><br><div class="gmail_quote"><div>
<blockquote style="border-left:2px solid rgb(204,204,204);padding:0pt 1em" class="gmail_quote">
<p>And my rules are very simple it is like if string comparison then set that's it..<br></p></blockquote></div><div>This doesn't really warrant the use of a rule based system. If keeping this logic out of the application or an easy maintenance of these if-then's are your main goals, there are other ways. I've already hinted at this, with the idea of providing the information embedded in similar rules as data.<br>
-W<br><br> </div></div><div>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=3637255&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </div><div style="color:rgb(68,68,68);font-family:tahoma,geneva,helvetica,arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-size-adjust:none;font-stretch:normal">
<div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3637255.html" rel="nofollow" link="external" target="_blank">http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3637255.html</a>
        </div><div><div>
        <div style="color:rgb(102,102,102);font-family:tahoma,geneva,helvetica,arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;font-size:11px;font-size-adjust:none;font-stretch:normal;margin-top:0.4em;line-height:1.5em">
                To start a new topic under Drools: User forum, email <a href="http://user/SendEmail.jtp?type=node&node=3646449&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a> <br>
                To unsubscribe from Drools: User forum, <a rel="nofollow" link="external">click here</a>.<br>
                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font-family:serif;font-style:normal;font-variant:normal;font-weight:normal;font-size:9px;line-height:normal;font-size-adjust:none;font-stretch:normal" link="external" target="_blank">NAML</a>
        </div></div></div></blockquote></div><br>
        
<br><hr width="300" align="left">
View this message in context: <a href="http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3646449.html" target="_blank">Re: [rules-users] Large number of rules in Drools</a><br>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" target="_blank">Drools: User forum mailing list archive</a> at Nabble.com.<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>
<br></blockquote></div><br>