ALTER RULE is a DDL command for modifying the definition of a rule.
ALTER RULE was added in PostgreSQL 9.3.
Currently the only property of a rule which can be modified is its name.
ALTER RULE has not been modified since it was added in PostgreSQL 9.3.
Basic usage example for
postgres=# ALTER RULE foobar ON foo RENAME TO foo_insert_rule; ALTER RULE