Implementing Fairness Constraints in AI: A Deep Dive