KieFileSystemImpl kfs = ( KieFileSystemImpl ) ks.newKieFileSystem();
kfs.write( "src/main/resources/META-INF/beans.xml", generateBeansXML( ) );
kfs.writeKModuleXML( ((KieModuleModelImpl)kproj).toXML() );
ReleaseId releaseId = ks.newReleaseId(namespace, "art1", version);
kfs.generateAndWritePomXML(releaseId);
String kBase1R1 = getRule( namespace + ".test1", "rule1", version );
String kBase1R2 = getRule( namespace + ".test1", "rule2", version );
String kbase2R1 = getRule( namespace + ".test2", "rule1", version );