Orange County leaders agreed Tuesday to write a law broadening Orlando's domestic-partner registry that gives certain visitation and end-of life rights for all unmarried couples at hospitals, jails and funeral homes countywide.