update customized rules