Rules have a lot of overhead. Is there a reason you're not using defaults or triggers?
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных