title: Drools : Rule Formation - One Rule output should trigger other Rules
body: <p>I am fairly new to Drools and getting my head around it.
  Scenario: </p>
  
  <p>rule A output -> should trigger Rule b , Rule c and send then get the final  output etc</p>
  
  <p>Example : For simplification  </p>
  
  <pre><code>CountryBean --&gt; { String isdCode ,List&lt;String&gt; tates} 
  
  rule "Get States by Country's ISD Code"
  no-loop true
    when country: Country(isCode=="+1")
  then 
    country.setStates("Kentucky" , "North Carolina"....);
    update(country);
  
  StateBean --&gt; {String state,String population}
  rule "Get Population of States"
  no-loop true
    when state: States(state !="", $state=state)
  then 
    if(state=="Kentucky")
    state.population("1M");
    update(state)
  </code></pre>
  
  <p><strong>My Solution</strong> </p>
  
  <ol>
  <li>Execute the first Rule </li>
  <li><p>then iterate over the states and execute States rules</p>
  
  <pre><code>Country country = new Country("+1");
    ksession.insert(country )
    ksession.fireAllRules();
  List&lt;States&gt; stateList=new ArrayList&lt;States&gt;();
  country.getStates().forEach(state-&gt; {
      ksession.insert(new State(state)); 
      ksession.fireAllRules();stateList.add(state);
  });
  </code></pre></li>
  </ol>
  
  <p>I dont think this is the right way to do it. How should I approach this problem ?</p>