fix rules features