Implement SwitchProfile settings UI except for the confirmation dialog.
Add Rule.onProfileNameChange to watch profile changes.