These 2 rules are buggy, let's migrate it with the functional and life-saving template_manager 2 keys already exists for finding the 2 patterns