Implemented link_from_rel method