add service patterns for nn,dn,rm,nm