Such restrictions are generally intended to protect the former employer from a former worker disclosing his or her trade secrets to a competitor or from wasting resources to train a new employee for the sole purpose of entrusting those new skills to a competing company. Non-compete rules generally prohibit an employee from working for a competitor for a set period of time after the company leaves and in a given geographic area. With regard to the appropriateness of a non-competition clause, the courts consider three criteria: laws on non-competition rules vary considerably from state to state. While in Florida such agreements are quite easy to enforce, in California, these agreements are almost always rejected by the courts.