protected RuleExecutorBuilder executorBuilder;
protected boolean stopWhenFail = false;
public void execute(Context context) {
Agenda agenda = matcher.buildAgenda(base, context);
List<Rule> rules = agenda.getRules();
RuleExecutor executor = executorBuilder.build(rules, stopWhenFail);
executor.execute(context);
}