New rules for smart devices proposed to help prevent cyber-attacks