update unique rules