Module compound matcher

compound matcher based on return value of module return