Man tries to rush police with chainsaw