implements
ConditionalElementBuilder {
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr) {
final EvalDescr evalDescr = (EvalDescr) descr;
<BUG>final Declaration[] declarations = new Declaration[0];
final DroolsMVELFactory factory = new DroolsMVELFactory();
factory.setPreviousDeclarationMap( context.getDeclarationResolver().getDeclarations() );
factory.setGlobalsMap( context.getPkg().getGlobals() );</BUG>
final Serializable expr = MVEL.compileExpression( (String) evalDescr.getContent() );

implements
ConditionalElementBuilder {
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr) {
final EvalDescr evalDescr = (EvalDescr) descr;
final Declaration[] declarations = new Declaration[0];
final DroolsMVELFactory factory = new DroolsMVELFactory(context.getDeclarationResolver().getDeclarations(), null,  context.getPkg().getGlobals() );
final Serializable expr = MVEL.compileExpression( (String) evalDescr.getContent() );
