An Approach for Collective Adaptation in Socio-Technical Systems