The role of regional agreements in trade and investment rule-making