A rule I'd propose for this would be:
For every administrative region within a state (county, parish, city, village, borough, ward, etc.), a proposed congressional district must meet one of the following criteria:
1. The congressional district is completely contained within that region.
2. The congressional district completely contains that region.
or
3. The congressional district contains no part of that region.