Is a gentile allowed to participate in Shabbat prayers in a Synagogue (of course he/she will not count for a minyan) if they do so in order to gain knowledge of Jewish customs for the purpose of conversion?
As far as I know it is forbidden for a gentile to 'observe Shabbat' but I do not know what does it exactly mean and I would like for someone with more knowledge to clarify what is forbidden for a gentile to do on Shabbat that Jews shall do.
Also how should a gentile behave in a Synagogue, are there any special rules different than the 'normal' rules applicable to the Jews?
As a prospective convert I was told by a rabbi to start celebrate Jewish holidays and customs, but what am I forbidden from doing on Shabbat?