Match Shapes: What's My Rule?