have (Just binds) in the tcdMeths field, whereas interface decls have Nothing.
In *source-code* class declarations:
+
- When parsing, every ClassOpSig gets a DefMeth with a suitable RdrName
This is done by RdrHsSyn.mkClassOpSigDM
name -- Head of LHS
CoreRule
+isSrcRule :: RuleDecl name -> Bool
isSrcRule (HsRule _ _ _ _ _ _) = True
isSrcRule other = False