added rules to settings