Identify and explain how rules function in various settings, inside and outside of the school.