Fixes #1649. Adds exclusion rules into SHA-1 of minigraph path

Fixes #1649.
Hmm..... this feels less consistent....   Are the toStrings of rule.getMatcher pretty consistent in general?