add rule fix