if (eager != null) {
rule.setEager(eager.value());
}
}
Direct direct = ruleDescr.getTypedAnnotation(Direct.class);
if (direct != null && direct.value()) {
rule.setActivationListener("direct");
}
rule.setDataDriven(ruleDescr.hasAnnotation(DataDriven.class));
rule.setAllMatches(ruleDescr.hasAnnotation(All.class));