RuleExecutionSet ruleExecutionSet = createRuleExecutionSet(ruleExecutionSetProvider, ruleSource, executionSetProperties);
String packageName = ruleExecutionSet.getName();
ruleAdministrator.registerRuleExecutionSet(packageName, ruleExecutionSet, null);
session = (StatelessRuleSession) ruleRuntime.createRuleSession(packageName, sessionProperties, RuleRuntime.STATELESS_SESSION_TYPE);
} catch (Exception e) {
throw new RuleRuntimeException(e);
}
}