Policeman, dozen rebels killed in Afghan unrest