public static Rule getRule(final String field, final String value) {
    return new PartialTextMatchRule(field, value);
  }
Create new instance.

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