Matching beliefs and practices to different religions