Update rules file to include more examples.
Fix typos in rules.