[Snippet rust]
```rust
pub async fn migrate_rules_for_profile(
```
Path: hyperswitch/crates/router/src/core/routing.rs :: migrate_rules_for_profile (function, crate=router)

Negatives:
- hyperswitch/crates/router/src/routes/user.rs :: check_two_factor_auth_status_with_attempts
- hyperswitch/crates/router/tests/connectors/square.rs :: should_fail_void_payment_for_auto_capture
- hyperswitch/crates/storage_impl/src/payouts/payouts.rs :: from_storage_model
- hyperswitch/crates/hyperswitch_connectors/src/connectors/cashtocode.rs :: get_webhook_resource_object
- hyperswitch/crates/hyperswitch_connectors/src/connectors/mollie.rs :: get_supported_payment_methods