Sintáxis:
CREATE RULE rule_name AS ON { SELECT | UPDATE | DELETE | INSERT } TO object [WHERE qual] DO [INSTEAD] [action|NOTHING|[actions]];