5. Checking rules.