fix new rule bug