How do I manipulate the code of an SHM custom monitoring rule?

This post implies it is possible.

I want to add another MP3 to the standard list of sounds that the SHM custom monitoring rule offers.