Added a Rule struct