Works out rules for enforcing adjacency in pin choices.