include rules for shared models views

As django uses the returning clause when performing some update
operations, we need to explicitly create the insert, update and delete
rules in order to manage view updates properly.