Update rules file to include more examples.
Fix typos in rules.
Merge branch 'devel'