The Treasury has drawn up detailed new provisions to give specific groups an advantage in winning state contracts.