intergrated selection into main with new rule state
fixed exception in 4th dna selector