putting error checks in on rule definitions but also *also* making it so the parameters must be called "request" and "response"