add current match to rule