Is the next sentence syntactically and semantically acceptable?

The more obnoxious Fred is, the less attention you should pay to him.
acceptable