attributes variable for every device
form for adding new rules