Gaming the System: A Theory of Institutional Manipulation