final Rule rule = new Rule( "Test Rule 1",
ruleSet );
Importer importer = new DefaultImporter( );
importer.addImport( new DefaultImportEntry( "org.drools.semantics.base.Person" ) );
rule.setImporter( importer );
ObjectTypeFactory factory = new ClassFieldObjectTypeFactory( );
ClassFieldObjectType type = (ClassFieldObjectType) factory.newObjectType( rule,