add admin and error page rorules