Trying to integrate duplicate rules. Beginning to work, but not yet.