Added explainary comments to MatchPatternMacro, and a minor refactoring to reduce code duplication in MatchPatternMacro.