fix rules form model