Of all the times I've got pulled over, I've only got a ticket 1/3 of the time (and I'm not pretty girl, I'm a dude). I find be respectful and non-confrontational goes a long way. Contrast that with my best friend, whose first words before the cop speaks is "Why'd you pull me over!?! You have no right to pull me over!". He's paid a lot of money to the local counties over the years...
I find be respectful= I find being respectful
Don't forget the ever popular: "Why don't you go chase real criminals?" and "I pay your salary."