It's beyond a mere law.
Amendment I
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.
Amendment XIV
Section 1. All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the state wherein they reside. No state shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any state deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.
Is Judge Roy Moore the same as the U.S. Congress? No. Did he pass a law establishing a national religion? No. Try again. Your interpretation of the 1st amendment is egregiously bad.
Whose rights were denied with that decalog? No one's. No one was forced to do anything. I'm glad you aren't a judge on the court - that's all we need is another bad judge who judges according to whim and not the black and white words of the law.