+ // Since templates are refcounted, we can check if it's the same one by
+ // comparing pointers.
+ if (existing_template && i->second.get() != existing_template) {
+ // Rule present in both the source and the dest, and they're not the
+ // same one.