Add support for wildcard expressions in the left-hand-side of rules