Rules for use of electronic devices