Fixes `'AllowAny'` for the rules adapter.