Hi Dimitris, If you get into more numerous and complex tweaks, I highly recommend using the edition-engraver — keeping presentation tweaks (e.g., moving a RehearsalMark) out of the note code is my primary use-case for the EE.
Hope that helps! Kieren.