BTW, this patch is lacking ruleutils.c support. Put a DELETE USINGinto a rule and see whether pg_dump will dump the rule correctly ...
regards, tom lane