Small update to rule 6 to use new "equals" function for the node