How do rules work?