refactor active unit/player to roserules