Conversion of Wiswesser Line Notations to Ring Codes. Part I. Conversion of Ring Systems