Encode match right after parsed it
Add Apriori algorithm