So we are talking about 2 types of macros here.
The first one are macros on a (gaming) MOUSE and (gaming) KEYBOARD. You are allowed to use these as long as they don't give an unfair advantage over other players, e.g. switching to flint and steel and placing fire at the same time. You are allowed to use these as long as you use them for switching slots or for toggling f5 for example. Also, I don't think that macros on a mouse or keyboard respond any faster than pressing the regular number buttons on your keyboard.
The second type of macros that we are talking about here is the macros MOD. Only staff members are allowed to install this mod as it helps them with their moderating duties, e.g. clicking on a macro called "spam" whereby the mod is able to immediately send a message in chat saying: "Do not spam the chat, please." Regular players are not allowed to use this mod as they can spam or flood the chat so fast to the point that other players are not able to say anything anymore in the chat.
So you are allowed to use macros on a mouse or keyboard, as long as they don't give you an unfair advantage over others, but you are not allowed to install the macros mod.