The punishment could only be meted out to those within the confines of the Forest of Hardwick, of which Halifax was a part.
The sentence implies that the punishment was limited to those living within the Forest of Hardwick, specifically mentioning Halifax as a part of this area.