@Override
    public boolean evaluate(Facts facts) {
        SimpleEvaluationContext context = SimpleEvaluationContext
                .forReadOnlyDataBinding()
                .withRootObject(facts.asMap()).build();
        // context.setRootObject(facts.asMap());
        // context.setVariables(facts.asMap());
        // if (beanResolver != null) {
        //     context.setBeanResolver(beanResolver);
        // }
        return compiledExpression.getValue(context, Boolean.class);
    }
Create a new {@link SimpleSpELCondition}.

@param expression    the condition written in expression language
@param beanResolver  the bean resolver used to resolve bean references
@param parserContext the SpEL parser context
manager/api/rest-impl/src/main/java/io/apiman/manager/api/notifications/rules/SimpleSpELCondition.java