add domain_insert and domain_sing as automatic rewrites