Linking Resource Matching and Dispersal