title: Unexpected Drools Ruleflow Behaviour
body: <p>Drools version: <strong>6.5.0</strong></p>
  
  <p>A rule flow sequence which takes (<strong>Start -> A -> B -> End</strong>) route, the expectation is all the rules in <strong>A</strong> (RuleflowGroup: A) will be executed first before all the rules in <strong>B</strong> (RuleflowGroup: B). But the result it produces from the implementation of the <strong>AgendaEventListener</strong> methods (i.e., beforeMatchFired, afterMatchFired) follows the reverse order. Rules associated with <strong>B</strong> are executed first before rules associated with <strong>A</strong>. 
  Any explanation would be very helpful.</p>
  
  <p>Please find the rule flow diagram below.</p>
  
  <p><a href="https://i.stack.imgur.com/YbvsU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YbvsU.png" alt="enter image description here"></a></p>