Pull out plain rules file loading code into a new `agent_rules` crate (#28383)

Also renames for rules file templated into the system prompt

Release Notes:

- N/A
301fc7cd7bMichael Sloan committed on 4/9/2025, 1:31:56 AM· committed by GitHubparent020a107
10 files changedLine totals unavailable