I don't think a rifle would be a good anti-drone solution. The problem is you would be operating close to other people and missing a shot could end up killing someone else.
Perhaps the solution could be in shooting a web over the drone and having the wires entangled in the rotors or maybe a tennis ball cannon could work.