fixes parser for missing semi colons at the end of a rule set