Add helper for making simple selector.
Merge pull request #2526 from erictune/addhelper

Add selector making helper