Implement and export working from_rgml()