There are rules there regarding your religion, and that is no praying in the classroom.
Your school seems to be misinformed. The ACLU, for example, says
IS IT EVER OK TO PRAY IN SCHOOL?
Sure. Individual students have the right to pray whenever they want to, as long as they don't disrupt classroom instruction or other educational activities -- or try to force others to pray along with them. If a school official has told you that you can't pray at all during the school day, your right to exercise your religion is being violated. Contact your local ACLU for help.
Page not found | American Civil Liberties Union
Point that out to the principal or superintendant.