Adding rules.