Sort-of working with rules caching. Todo: equivalence test, resolve duplicate coords objects.
Fix for hashable array values. Not yet working for test_pp_to_cube.