fix compilation of "redirect" rules