Modeling Rational Adversaries: Predicting Behavior and Developing Deterrents