dd45b38007
Add Apply now and save as rule flow Add explicit opt-in persistent rule creation from Process tab actions. - Add ProcessRuleCreationService for creating/updating persistent process rules - Add Rules submenu with Save Current Settings as Rule and Apply Affinity and Save as Rule - Match existing rules by executable path or process name fallback to avoid duplicates - Preserve rule Id and CreatedAt when updating existing rules - Prefer CpuSelection and only save legacy affinity when safely representable - Avoid saving Normal CPU priority from automatic current-state capture - Block Realtime priority and unsafe affinity persistence with controlled messages - Save memory priority when known - Keep existing normal context actions from creating persistent rules - Add tests for create/update, path/name matching, CpuSelection, legacy safety, priority capture, memory priority, no-action failure and ViewModel commands No full rules editor, modal confirmation flow, registry/IFEO, Windows Service, diagnostics changes, version bump or tag changes.