The attacks were carried out with a stolen Bushmaster XM-15 semi-automatic .223 caliber rifle equipped with a Bushnell holographic weapon sight effective at ranges of up to 300 meters , which was found in the vehicle.