Support lens >= 4.4. `defaultRules` has been removed since lens 4.4.
Restrict lens upper version (< 4.5)