[rules-dev] Check matching between to sets of items