Right now, weights get copied through to ground rules and terms.
Instead, we can have each ground rule contain a reference to its rule and every term contain a reference to its ground rule.
This will eliminate the need for updating weights in the term stores.
This will also remove the need to the rule -> ground rule mapping in MemoryTermStore.
(ADMMReasoner still uses this to compute dual incompatibility, but I don't like that method anyways.)
Right now, weights get copied through to ground rules and terms.
Instead, we can have each ground rule contain a reference to its rule and every term contain a reference to its ground rule. This will eliminate the need for updating weights in the term stores. This will also remove the need to the rule -> ground rule mapping in MemoryTermStore. (ADMMReasoner still uses this to compute dual incompatibility, but I don't like that method anyways.)