Hmm. Firstly I think I'd say try your hardest to key into them as individuals (not as 'boys'). I don't personally believe that 'boys' are hugely different from 'girls' in terms of what they need from a parent. They will need different things from you, as all kids do.
Listen carefully, cut them some slack, show them you love them and are on their side even when they are being grotty.
As PP says, pick your battles. Will this thing matter next month/next year? Will they learn better by doing this stupid thing and discovering for themselves how stupid it is? What's the worst that could happen if you just shrugged? Have a few very clear boundaries and rules around things that really matter to you. Mine was that they were/are absolutely not allowed to speak to me with contempt or real rudeness. It's one of the only things that makes me properly lose my temper, so they don't do it because they don't, fundamentally, enjoy it when I'm angry with them. (Most people don't, unless they're raised by parents who are constantly yelling at them.) Save your big guns for the big stuff.
Never laugh at their misfortune, unless it's truly silly and ephemeral. Be the safe person with whom they can be vulnerable - back them up, keep their secrets, and never throw things back in their faces.
When you're in conflict with them, try to let them maintain a bit of ground/save a bit of face. Don't drive them into the dust when you've already won. I usually tried to find one small point (and sometimes large points) on which I could say 'ok sorry I was wrong about that bit'. I think the fact I'm very willing to admit fault has meant they've both grown up trusting me and (largely) telling me the truth.
Accept that at some point quite soon, you will not be able to 'make' them do what you want. You can implement consequences (withholding money and treats etc) but it's a drag, and frankly you'll feel ridiculous doing that to a 17 year old. You're building a relationship for when they're 27, 37, even 57. It needs to be based on cooperation, respect and love, because if you've raised a 37 year old who still obeys your every desire without even knowing why, you've raised an idiot.
At some point during the year in which they are 14 you will want to murder them. This is normal.