Add rules.