A plugin to emulate matches on PGM