If you have a dress and grooming policy that sets out different rules for men and women, you aren’t necessarily setting yourself up for a sex discrimination lawsuit. As several court rulings have shown, you can have different rules based on gender—as long as you enforce those rules even-handedly.