Rule Derivation for Agent-Based Models of Complex Systems: Nuclear Waste Management and Road Networks Case Studies