> what is RIR rules in Rewriter? What RIR means? Retrieve-Instead-Retrieve The name is based on history. RETRIEVE was the PostQUEL keyword for what you know as SELECT. A rule fired on a RETRIEVE event,that is an unconditional INSTEAD rule with exactly one RETRIEVE action is called RIR-rule.