changing container and box rules