One rule. Best person for the job.
The end.
Absolutely right!
To drive for gender equality ignores the prime goal of the candidate selection process.
The BEST person for the job, no matter what their gender, should be the successful candidate.
I'd be happy with all female staff if they were the best candidates, and likewise all male.
However, available candidates at a given time will be a mix, and applicants who do not meet the criteria won't be considered.
A more even balance carried out professionally over the coming decades might occur...or might not.
To settle for less than the best does not provide the best outcome.