KnowledgeHelper.class,
false );
MVELSalienceExpression expr = new MVELSalienceExpression( unit,
dialect.getId() );
context.getRule().setSalience( KiePolicyHelper.isPolicyEnabled() ? new SafeSalience(expr) : expr );
MVELDialectRuntimeData data = (MVELDialectRuntimeData) context.getPkg().getDialectRuntimeRegistry().getDialectData( "mvel" );
data.addCompileable( context.getRule(),
expr );