The action or fact of making or following rules deriving from one's own ideas of morality, ethics, etc., or rules which suit oneself; a body of rules of this type.
Mid 17th century; earliest use found in Richard Whitlock (b. ?1616). From self- + law.
Are You Learning English? Here Are Our Top English Tips