is = ruleBaseURL.openStream();
} else {
throw new IllegalArgumentException("Property ruleBase, ruleBaseResource "
+ "or ruleBaseURL must be set");
}
RuleBaseLoader loader = RuleBaseLoader.getInstance();
ruleBase = loader.loadFromReader(new InputStreamReader(is));
} catch (Exception e) {
throw new JBIException(e);
} finally {
if (is != null) {
is.close();