Changed AbstractRuleKernel to only add groundings with non-constant truth values.