Version Modeling Using Production Rules in the Postgres DBMS