Added caches to GDAMinimumRule, with the goal (and the effect!) of speeding up GMG solve.  On a single core on my laptop, this gives about a 12x improvement in one of my tests.