Very good.            

Wherever you are, you should go by your parents rules.  There may be additional rules based on where you are. For example, if your friends parents' have extra rules for your friend, you'll have to go by those too. When you're at school or at a library you should go by the rules there, but you should always talk with your parents about what they think is best.