optimized dimming rule for select all