As usual, confusion between IFR and IMC.
IFR is Instrument Flight Rules - these dictate how far you have to be from the lumps in the ground, what instruments you need to have and various other things. IMC refers to what you can (or cannnot) see out of the window.
It is perfectly possible to fly IFR in perfect VMC (Visual Metorological Conditions).