Rangers FC chair Dave King and Mike Ashley have reached an agreement after nine months of negotiations on the merchandizing deal.