The case was one of a teacher who was fired after being diagnosed with narcolepsy. Cheryl Perich, the teacher, was fired by the Hosanna-Tabor Evangelical Lutheran Church and School in Redford, Michigan in 2005. The ruling clearly excludes those who preach or teach from the protections of the law.
However, it does not define the limits of the un-protected group. The ruling is not clear as to what professions are covered by it. It is possible that a janitor employed by a church could be covered by anti-discrimination laws. That will probably be defined in another law suit. But what is certain from this moment on is that religious organization can fire teachers, instructors, guides, and preachers on any whim. It is also clear that the ruling makes the position of almost every employee of a religious organization more tenuous.
For them, anti-discrimination laws do not apply.
This has profound implications if same sex marriage passes in New Jersey. With this ruling, it is less likely that religious organizations will be bound to recognize same sex couple when it comes to medical insurance and other fringe benefits derived from employment. Furthermore, job security would be zero.