@Test
    public void test3() {
	Stack<Object> stack = new Stack<>();
	stack.push("level");
	stack.push("nfo");
	Rule rule = PartialTextMatchRule.getRule(stack);
	AssertJUnit.assertEquals(0, stack.size());
	LoggingEvent event = new LoggingEvent("org.apache.log4j.Logger", "root", System.currentTimeMillis(), Level.INFO,
		"Hello, World", null);
	AssertJUnit.assertTrue(rule.evaluate(Log4jUtil.translateLog4j(event), null));
    }
getRule with "level" and "nfo" should return a LevelEqualsRule.
olv-core/src/test/java/pl/otros/logview/accept/query/org/apache/log4j/rule/PartialTextMatchRuleTest.java