Pass the rule object into the request callbacks

It'd be nice to override certain parts of the rule in the request callbacks (e.g. selecting a different template).