Text this: The Legal Theory of Investment Regimes