improved selector parser api

no longer array of selector passed by reference, since this parser should only deal with one selector instead of comma separated selectors