Viewed like that they can be seen as guidelines to achieving experiences. A how to guide for want of better a better description. In the case of religions these typically lead to spiritual states and arguably the potential to live a life consisting of such states.The actual guidelines and ethics are in fact similar to types of diet. Do this, to get this.