Social-Ecological Resilience and law