<p>Oil rose as a flare-up in attacks in the Middle East increased uncertainty over a recovery in energy flows from the Persian Gulf.</p>