public RuleConditionElement build(final RuleBuildContext context,
final BaseDescr descr,
final Pattern prefixPattern) {
final FromDescr fromDescr = (FromDescr) descr;
final AccessorDescr accessor = (AccessorDescr) fromDescr.getDataSource();
DataProvider dataProvider = null;
try {
final DroolsMVELFactory factory = new DroolsMVELFactory( context.getDeclarationResolver().getDeclarations(),
null,
context.getPkg().getGlobals() );
// This builder is re-usable in other dialects, so specify by name
MVELDialect dialect = (MVELDialect) context.getDialect( "mvel" );
String text = (String) accessor.toString();
Dialect.AnalysisResult analysis = dialect.analyzeExpression( context,
descr,
text );
final Serializable expr = dialect.compile( text,