The above change seems to me a bit too intrusive: can we be sure that skipping the layout of the 'beam' of a rest (which can be part of a larger beaming involving chords) does not affect the layout of the surrounding elements?