@Test public void test3() {
        Stack<Object> stack = new Stack<>();
        stack.push("level");
        stack.push("info");
        Rule rule = EqualsRule.getRule(stack);
        AssertJUnit.assertEquals(0, stack.size());
        AssertJUnit.assertTrue(rule instanceof LevelEqualsRule);
        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 "info" should return a LevelEqualsRule.
olv-core/src/test/java/pl/otros/logview/accept/query/org/apache/log4j/rule/EqualsRuleTest.java