each compartment within the massive rings was built on a swivel system that allowed the chambers to reorient to thrust gravity when the rings stopped spinning and the station flew to its next work location .