add app routing rules