fix rules required