several fixes of typos in rules

this is a cherry-pick of
8003a25360a6095ba227931d37ea3711ed90ebb6
Merge pull request #6 from pradd/PATCHES_410

several fixes of typos in rules