Classic Macros help question

i have a stupid question? with the macros for classic is there a way or what do i have to do for the spell (example Ranks) do i have to keep change the rank each time i level or if i take out the rank all together will it work and automatic change and use the highest rank of that spell

Thx

You can either use the Rank or like you said you could remove the rank from the line and it will use the highest rank of that ability

eg: /cast Serpent Sting(Rank 1), Serpent Sting, Serpent Sting(Rank 1), null

it will cast rank one on the ones designated but also cast the highest rank on the middle serpent sting