quick fix, added some ';'s to some rules