public static Rule getRule(final Rule rule) {
    return new NotRule(rule);
  }
Create new instance.

@param rule enclosed rule.
@return new rule.
olv-core/src/main/java/pl/otros/logview/accept/query/org/apache/log4j/rule/NotRule.java