A real gun uses rifled barrels in this way: When the bullet is fired it is deformed and slides inside the grooves of the rifled barrel creating spin, increasing range and accuracy. If you dont get it, think of a football. When a football player throws the ball he throws it with spin, this works in the same way as the bullet, because the football player throws it with spin it goes further and will reach his target with more accuracy.
The thing is, as I said when a reall bullet is fired through a rifled barrel is is deformed into the groves and thus is given spin. A nerf gun does not produce nearly enough power to deform a bullet in that way. However nerf darts are made of foam and foam is squishy. I think if you get a dart that fits very tightly into a barrel it would squeez into the grooves and when fired, would be given spin.
The last problem is, how does one rifle a barrel? Well here is my answer:

I think that by using threaded rods, such as those you could rifle a barrel. Simply pick a rod that has the same outer diameter as the inner diameter of you barrel. Then use some means of twisting the rod through the barrel carving grooves into inside of the barrel. Thus you have a rifled barrel.
Tommorow I will probably get to home depot, get some rod of the right size and try this out.
Tell me if you think this is possible, I dont want to waste cash on rod if it seems like a stupid idea to most of you guys.
-sponge