rules.txt updated
Get rid of using of EOI (EOF) in grammar