add box rules