answer: Social contract theories were eclipsed in the nineteenth century in favor of utilitarianism , Hegelianism , and Marxism , and were revived in the twentieth, notably in the form of a thought experiment by John Rawls .