The Log statement lets you write a custom entry to the SPAMRULES.LOG file. This can be useful for debugging scripts.
Log "Sender = ${MailFrom}"