add task priority rule