While I have seen lots of complaints about gerrymandering over the years, I have never seen a set of rules or principles designed to guide someone who wants to AVOID gerrymandering.
If you could erase all the boundaries of, say, the congressional districts in your state and start over, how would you do it?
It seems that, no matter what you do, your new scheme would confer an advantage on one party or the other, compared to the old scheme, and the OTHER party would then accuse you of gerrymandering.