It would strain logic and common sense to conclude that the Second Amendment protects semi-automatic handguns but does not protect semi-automatic rifles.
In particular, opponents contend the proposed ban on semi-automatic rifles focuses on a weapon used in a tiny percentage of killings and other gun violence.