add allow-rotate, allow-scale, allow-resize and allow-move attributes