a rifle is a type of weapon