Fix duplicate activation

Fix duplicate activation when using rules with identity match (or any
other match when object matches itself)