Manners cost nothing.
Manners cost nothing, take your helmet off, look them in the eye and be polite. I've never been pulled for no reason (although some were a little lame), and at the end of the day they have to draw a line somewhere.
As others mention, don't admit to anything, but be polite about it. Eg :-
"You overtook on double white lines."
"If you believe I did so,I am sorry."
"So you admit it?"
"I can't recall what you are referring to officer, but I am sure that if this is the case you have evidence to support it."
You're not being rude, you're not stating that you know your rights, you're giving the officer the chance to cooly and calmly make his case. If he does have evidence, take it like a man. If he doesn't then just nod, smile, be polite and don't give him any reason to find any other fault with either you or your bike.
I've been pulled 7 times (4 in a car) in the last 10 years, and only been given a ticket once. That ticket was justified, I was speeding, and he videod me doing it! Every other time I have received producers or just a verbal "take more care next time" type response.