IFR means you must maintain 1,000 feet above the nearest obstacle within 5nm of your track.
A common Misconception. What Rule 33 actually says is:
Subject to paragraphs (2) and (3), an aircraft shall not fly at a height of less than 1,000
feet above the highest obstacle within a distance of 5 nautical miles of the aircraft
unless: