added ability to set custom redirect URI when restricting access rules

...re