Terminals and non terminals validation part working fine. Input part is partly working. Multiple rules on same line is not working though