Rewrite static part of deploy groups