Right, but a machinegun can be "any weapon". Rifle, pistol, 4-barreled handgun that fires all barrels with a single pull of the trigger, etc.
Federal law doesn't classify "rifles" as "rifles" anymore if they have under 16" barrel length - they are classified by definition as "Firearm". Thus, one could argue that the federal legal definition of "rifle" - if applicable to Illinois law in absence of a formal definition - no longer applies. I don't know if USC 18 is even applicable to this, if it isn't, then the "single shot" phrasing on federal law has no bearing on it.
Sections (1) through (6) immediately proceeding the new section (7) don't make any qualifications specific to it.
If you look at criminal jury instructions in Illinois pertaining to unlawful use of weapons/aggravated unlawful use of weapons...
http://www.state.il.us/court/circuitcourt/CriminalJuryInstructions/CRIM 18.00.pdf
The definitions for "handgun" (18.35I), "machinegun" (18.35D), "stun gun or taser" (18.35E), "firearm", etc are all defined.
There IS no definition of "RIFLE" or "SHOTGUN" issued to jurors.
I could FIND no such definition of RIFLE in the assembled criminal statutes of Illinois.
Some examples:
DEFINITION OF HANDGUN
The word “handgun” means a firearm designed to be held and fired by the use of a single
hand, and includes a combination of parts from which a firearm can be assembled.
Definition Of Firearm
The word “firearm” means any device, by whatever name known, which is designed to
expel a projectile or projectiles by the action of an explosion, expansion of gas, or escape of gas.
18.35D
Definition Of Machine Gun
The term “machine gun” means any weapon which [ (shoots) (is designed to shoot) (can
be readily restored to shoot) ] automatically more than one shot, without manually reloading by a
single function of a trigger, including the frame or receiver of such weapon.