public static Rule getRule(final String field) {
    return new ExistsRule(field);
  }
Get an instance of ExistsRule.

@param field field.
@return instance of ExistsRule.
olv-core/src/main/java/pl/otros/logview/accept/query/org/apache/log4j/rule/ExistsRule.java