CSS selector parser in Java with customizable grammar