Moved parts of RenderedPiece::moveTo to cyvmath, simplified parts of MikelepageRuleSet::processEvent()