Implemented the rm_printRel method which makes it possible to print relations to standard out.