Yes it's against Blizzard's game rules to use macros with delays or macros that loop. Are you going to get caught? No, it is very doubtful you'll ever get caught for such a petty violation. What's funny is...apparently Blizzard's own WoW mouse by Steelseries is able to include delays and such into the custom macros.