start building Basic technique
basic match function returns map of which conditions matched which nodes
basic technique can matches ordered rules against ordered nodes