fix rules BG