Most HOA's display the contract that the homeowner freely and willfully signed that clearly spelled out the rules he would abide by.
Don't like HOA rules? Don't live in a deed-restricted community.
It's that simple.
How quaint you are - file a lawsuit and they still have to expend resources they don’t have. Put them through something they’ll never forget. When they put out the next financial report and the residents see they spent 100k on defending a stupid decision - they’ll be the ones moving out.