modify task rules