Hi Ayon,
I'm not personally familiar with Blaze, but I can tell you that in Drools,
rules are not something that you "call". In Drools, rules are evaluated
whenever the facts in your WorkingMemory change; and the consequences are
executed according to agenda/rule-flow group, and salience settings.
When the consequence of a rule introduces changes (adds a new fact, updates
an existing fact, removes/retracts an existing fact) to the WorkingMemory,
the rules that may be affected by that change are re-evaluated. Any new
consequences are scheduled for execution, based upon the agenda/rule-flow
group and/or salience settings. Any previously scheduled consequences may
also be removed from the schedule, if the rule which caused them to be
scheduled is no longer true.
All of that said, if what you are wanting to accomplish is controlling the
order of when consequences are executed then you should learn more about
agendas, rule-flow groups, and salience. Otherwise, in order to cause a
rule's consequences to execute, you should make sure your facts support the
rule.
Hope this helps,
Lance Leverich
Show replies by date