<BUG>rule.append( "end\n" );
return rule.toString();
}</BUG>
public String createVersionedRule(String ruleName, String version) {
<BUG>return createVersionedRule( null, ruleName, null, version );
</BUG>
}
<BUG>public String createDefaultRule(String name) {

return createDefaultRule( name,
</BUG>
null );

if ( StringUtils.isEmpty( version ) ) {
rhs = "list.add( drools.getRule().getName() );\n";
} else {
rhs = "list.add( drools.getRule().getName()+\"-V" + version + "\");\n";
