Changed the RuleHandler's methods to take a Rule object instead of a script