Attorney general defends government's record on the rule of law