null, 'rule_id' => null, 'source_id' => null, 'source_expression' => null, 'destination_field' => null, 'priority' => null, 'filter_expression' => null, 'merge_policy' => null ]; protected function beforeStore() { if (! $this->hasBeenLoadedFromDb()) { $this->setNextPriority('rule_id'); } } protected function onInsert() { $this->refreshPriortyProperty(); } }