rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/DecisionBook.java
public void addRule(Decision<T, U> rule) {
    if (rule == null) {
      return;
    }

    super.addRule(rule);
    rule.setResult(_result);
  }
public void addRule(Decision<T, U> rule) {
    if (rule == null) {
      return;
    }

    super.addRule(rule);
    rule.setResult(_result);
  }
The addRule() method allows a rule to be added to the DecisionBook in the abstract defineRules
method.
@param rule  the Decision rule to be added to the DecisionBook