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);
}
public PatternMatcher getPatternMatcher() {
return matcher;
}