adapted matcher to new ontology

uses allows matches with instead of a hardcoded function