LITTLE ROCK (AP) Prison officials did not violate an inmate's rights when they disciplined him for refusing to cut his hair and beard, which he said would go against his religious beliefs based on the Old Testament, a federal appeals panel has ruled. Michael Fegans sued over the Arkansas Department of Correction's policy that says male prisoners must keep their hair trimmed above their ears and keep their facial hair trimmed. Fegans is a follower of the Assemblies of Yahweh. The 8th U.S. Circuit Court of Appeals said the prison's grooming policy is "reasonably related" to the state's safety and security interests. Long hair or shaggy beards can allow inmates to hide contraband or disguise their appearance.