Fixing spelling and capitalization in rules.