Abdel,
If that is your requirement, where other than Maternity leaves you have some extra type of leaves which are only applicable for female employees then you have to do enhancement of user exit for IT2001 with a check condition for male/female.
No other option available as per best practice.
Thx,
Ashish