RuleFlowProcess process = null;
try {
InputStreamReader reader = new InputStreamReader( is );
PackageBuilderConfiguration configuration = new PackageBuilderConfiguration();
configuration.initSemanticModules();
configuration.addSemanticModule( new BPMNSemanticModule() );
XmlProcessReader xmlReader = new XmlProcessReader( configuration.getSemanticModules() );
try {
process = (RuleFlowProcess) xmlReader.read( reader );
} catch ( Exception e ) {
reader.close();