Always satisfy the row order rule first
Before thinking about how strong each row is, confirm the arrangement is valid. A Foul is an automatic loss. Protect that first, then optimise within the valid constraint. Experienced players at 6cczz check validity as a final step before confirming.