add redirect rules