Added domainByDistance routing rule