Fixed some rules.