fix issue parsing selectors with empty rules
fix regexp scan to handle urls values with semicolons and semis in them