How do I use a macro? (How can I repeat rule statements in multiple places?)

In the transfer rules you have the ability to modularize your rules by putting repeated logic into a macro. Please watch this video for an explanation.