Fix scheduled rules conditions