A composer agent cannot automatically edit .mdc files and all the new rules are .mdc files so you have to manually write your new rules vs having an agent help you write them.
You might find this helpful. [Bug] Rules in /rules folder require undocumented .mdc format and special save process