Osmotic management of distributed complex systems: A declarative decentralised approach