public void addRule(Decision<T, U> rule) {
    """
	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
    """
    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);
  }
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
The addRule () method allows a rule to be added to the DecisionBook in the abstract defineRules method .