Forgive me for what I suspect is an elementary question.  That said, I did not see it explained in newcomer-friendly language in the documentation, if at all.  And I&#39;m a newcomer!<br><br>I&#39;m working on a system for--among other things--pricing things.  Drools Expert is a great fit for this.<br>
<br>The system also has to do other things that have nothing to do with pricing (let&#39;s say shipping, to keep it simple).  There are places where Drools Expert is a great fit for this as well.<br><br>In both cases, let&#39;s assume I might insert a given product into the engine, turn the crank, and collect my results.  But the kinds of results I&#39;m looking for--and the kinds of calculations I would expect to be performed--are quite different in each case.<br>
<br>So, let&#39;s assume that--naively speaking here--when I insert the product and {handwave handwave} I &quot;know&quot; I&#39;m doing pricing work, then I only need pricing-related rules to fire (I don&#39;t need the, say, product-color-determining rules to fire, or the can-the-product-be-shipped-to-Abu-Dhabi rules to fire, or the how-many-people-liked-this-product rules to fire, etc.).<br>
<br>And when I insert the product and {handwave handwave} I &quot;know&quot; I&#39;m doing--whatever--shipping work, then I don&#39;t need the pricing rules to even be considered.<br><br>I found this (<a href="http://n3.nabble.com/Grouping-rules-td55531.html#a55531">http://n3.nabble.com/Grouping-rules-td55531.html#a55531</a>) as perhaps one way of creating different sets of rules to be evaluated in different contexts.  This smelled very arcane to me for this purpose, but...? perhaps it&#39;s the way to go?<br>
<br>Another is obviously to create <i>n</i> <span style="font-family: courier new,monospace;">KnowledgeBases</span>, each with its own set of rules, where <i>n</i> is the number of contexts or activities or types of activities that I&#39;m performing.  Then I&#39;d look up the (pre-created) <span style="font-family: courier new,monospace;">KnowledgeBase </span>appropriate for the particular calculation I need performed.  That seems like solving the problem with a crowbar, a length of iron pipe and a blowtorch.  Ick.<br>
<br>Is there an accepted/preferred way to handle this sort of thing?  Agenda-groups seem...well, perhaps they&#39;d work, but it seems awfully arcane for something that I was hoping would be a little more end-user friendly.  Quoting the Expert manual:<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">When Should You Use A Rule Engine?<br>[...]<br><a id="d0e167">Domain experts often possess a wealth of knowledge about 
business
          rules and processes. They typically are nontechnical, but can 
be
          very logical. Rules can allow them to express the logic in 
their own
          terms. Of course, they still have to think critically and be 
capable
          of logical thinking.</a><br></blockquote><br>My domain users would almost certainly not think in terms of agenda groups.  Perhaps I could hide this in a DSL or something, but it seems to me there must be some facility built into Drools for separating collections of rules into channels, or groups, or partitions, or....  Is there?<br>
<br>Best,<br>Laird<br>