rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/runner/AbstractRuleBookRunner.java
protected Object getRuleInstance(Class<?> rule) {
    try {
      return rule.newInstance();
    } catch (InstantiationException | IllegalAccessException ex) {
      LOGGER.warn("Unable to create instance of rule using '" + rule + "'", ex);
    }
    return null;
  }
protected Object getRuleInstance(Class<?> rule) {
    try {
      return rule.newInstance();
    } catch (InstantiationException | IllegalAccessException ex) {
      LOGGER.warn("Unable to create instance of rule using '" + rule + "'", ex);
    }
    return null;
  }
Returns a rule instance

<p>For container aware contexts (like Spring, Guice, Weld, etc.) override this method and instantiate the rule
via the container.
@param rule The rule class
@return The rule instance