add/change rule, add test