Add ability to attach rules as context (#29109)

Release Notes:

- agent: Added support for adding rules as context.
7aa0fa1543Michael Sloan committed on 4/21/2025, 8:16:51 PM· committed by GitHubparent3b31860
18 files changedLine totals unavailable