PackageDescr packageDescr = parser.parse(rule);
RuleDescr ruleDescr = packageDescr.getRules().get(0);
builder = new PackageBuilder( );
builder.addPackage(packageDescr);
Package pkg = builder.getPackage();
MVELConsequence consequence = (MVELConsequence) pkg.getRule("myRule").getConsequence();
String sourceName = ((CompiledExpression) consequence.getCompExpr()).getSourceName();
System.out.println(sourceName);
String ruleName = ruleDescr.getNamespace() + "." + ruleDescr.getClassName();
System.out.println(ruleName);
assertEquals(sourceName, ruleName);
}