Can you devise a district drawing rule that would eliminate gerrymandering?

I think you proposed this before, and you got these responses: