The COVID-19 pandemic was some epidemiologist’s nightmare when Adam Kucharski was writing "Rules of Contagion." The book draws on ideas from “outbreak science” to illuminate how and why viruses spread.