He is entering adolescence and he is testing the waters to see what he can get away with. I would pick your battles with him and often try not to engage with him. He want the fight so as best you can, turn your back and let him blow off his steam and find his independence. Stand your ground on the important issues of course but pick the ones where he can "win." You will both be happier for it. Not easy, and it will take some patience on your part and practice but you can do it.
Please let me know if I can help you further, if not please take a moment to click on the rating tab to rate my support.