Legally, two different Arby's locations are independent competing companies, but in practice they act as extensions of the parent company. (Similar to the "independent contractor" nonsense going on in the "sharing economy".) So we're really talking about poaching within a company and there's pretty good precedent that companies are allowed to have these kinds of internal rules.