KieServices kieServices = KieServices.Factory.get();

  •  

    ReleaseId releaseId = kieServices.newReleaseId( "org.acme", "myartifact", "1.0-SNAPSHOT" );

  •  

    KieContainer kContainer = kieServices.newKieContainer( releaseId );