What are the necessary social and structural qualities of a state that promotes the general will of the people?

According to Rousseau, what are the necessary social and structural qualities of a state that promotes the general will of the people? If man’s true self is corrupted by society how would Rousseau’s state provide self-fulfillment?