Which 5 guidelines are you referring to? Sikhs have 5 vitrues, and 3 pillars, but it is very uncommon to read about '5 guidelines'.
5 virtues: Sat (Truth), Santokh (Contentment), Daya (Compassion), Nimrata (Humility), Pyar (Love for God)
3 Pillars: Naam Japo (contemplating Naam), Kirat Karo (honest labour), Vand Chhako (sharing with the needy)
They are in no way related to the 5 pillars of Islam, which by contrast are: Shahada (declaring one God and Muhammad is His messenger), Salat (prayer 5 times a day), Sawm (fasting and self-control in Ramadan), Zakat (giving a % of earnings), Hajj (compulsory pilgrimage to Makkah if possible).
Sikh's don't follow Muhammad, they don't pray 5 times a day, they are not allowed to fast for religious purposes, and religious pilgrimage is not compulsory, nor is it encouraged for any type of religious credit, and it's definitely not to Makkah.
Their purpose is unrelated to Sikh religion - Sikhs are concerned with the One Karta Purakh (creative being) only, and It's hukam (command). Therefore any other devas or devis are of no significance for a Sikh, and rituals for those beings (and rituals in general) are highly discouraged in Guru Granth Sahib.
The Sikh Rehat Maryada also tell Sikhs to worship One and no other god or goddess, and not to believe in many of the things which are included in Sanatan and Islamic religions.
In the face of all of this, one wonders why a Sikh would go to a mandir or a masjid instead of a Gurdwara.
Don't forget that Muslims and Hindus were largely the audience for the early Gurus who wrote a lot of the Bani. Guru Nanak started out by reframing the people's existing Hindu and Islamic beliefs. So references are made to Hindu gods and goddesses and concepts like karma and caste and it's usually followed up by Guruji saying 'it doesn't matter if there are a million gods and goddesses, the only one to worry about is the One who created it all'. Just because reference is made to it in Guru Granth Sahib Ji doesn't mean it was the subject being taught by Guruji.
Sikhi is a distinct and individual religion. I can't make it any clearer to you. I'm sorry you're having trouble understanding this.
It may help you actually to get an idea of Sikh history when it all started to get really messy, starting here, in around 1716:
History of Sikhism - Wikipedia, the free encyclopedia.