modified tasks to handle matches from generated rules