How Syria’s rebels became makers of drones and guided missiles