Optimizes Rewrites

https://github.com/tgstation/-tg-station/pull/2989

Having issues with github and upstream merges.