The Oxford Dictionary definition of a rifle is "a gun with a long barrel which you hold to your shoulder to fire". No mention of needing to have a rifled barrel, although of course that was how the name originated.