implemented non-recursive rete-node equality predicate