cleaning up MemoryAggregator and RuleWritable. Also, proved that Gremlin looping works.