The move comes amid heavy criticism that justices have no transparent or enforceable ethics guidelines.