I've no Brompton to refer to but if the whole seat post is rotating, I'd expect to undo the quick release lever where it enters the frame, tighten the nut a bit then close the qr again. If only the saddle is rotating, then tighten a nut under the saddle. If something is rocking sideways and not only rotating, I'd say seek help before riding it more!