Batman typically fallows some rules or his code, while some movies or depictions of the character do break this code,its still his code

No Killing. batman typically does not kill he will do everthing he can to prevent death, he explains this when talking about the joker who he wants to kill but wont. He says if he starts killing he will never come back, he would be no better then the criminals he punishes, even tho batman is against guns he has them on the batmobile but when fired at people he uses rubber bullets to avoid death