public RuleList add(final TestRule rule) {
    rules.add(rule);
    return this;
  }
Adds a new {@code TestRule} to the end of the current {@code RuleList}.

@param rule the rule to add.
@return the {@code RuleList} with a new TestRule added
geode-junit/src/main/java/org/apache/geode/test/junit/rules/RuleList.java