Fix antlr4 rules for parsing requirements