Ati-ricochet walls of the modular RUBOX system eliminate ricocheting of bullets fired from small-caliber weapons and isolate dangerous chemical compounds such as heavy metal oxides and metal dusts resulting from stopping of the bullet. The walls of the elements have self-sealing capabilities, which prevents bullets, dust and bullet fragments from escaping outside the bullet trap structure,