If you're running 1.12.2 or earlier, yes. Ruins does try to rotate relative coordinates in a CommandBlock directive. Usually it succeeds, sometimes it doesn't. It does not rotate the rotation parameter, though, if you specify one. It also does not rotate coordinates for command blocks spawned in through the teBlock directive.
Ruins doesn't do that after 1.12.2. If you were running 1.15.2, you would have to change the coordinates as you described.