Disobeying the rules could even lead to imprisonment.