final RuleBuildContext context,
final String className,
final Map vars,
final Object invokerLookup,
final BaseDescr descrLookup) {
TemplateRegistry registry = getRuleTemplateRegistry();
context.getMethods().add( TemplateInterpreter.parse( registry.getTemplate( ruleTemplate ),
null,
vars,
registry ) );
registry = getInvokerTemplateRegistry();
final String invokerClassName = context.getPkg().getName() + "." + context.getRuleDescr().getClassName() + StringUtils.ucFirst( className ) + "Invoker";
context.getInvokers().put( invokerClassName,
TemplateInterpreter.parse( registry.getTemplate( invokerTemplate ),
null,
vars,
registry ) );
context.getInvokerLookups().put( invokerClassName,