Fix a few rules.