public class Matcher
{
    public Matcher (boolean debug)
    {
        _debug = debug;
    }

    public Message[] matchRule (int ruleNumber, Rule[] rules, Message[] messages)
    {
        return null;
    }

    private boolean _debug;
}
@@ -168,32 +168,87 @@
 messages)%0A    %7B%0A
+        Rule ruleToMatch = rules%5BruleNumber%5D;%0A        %0A
         return n

Update Matcher.java