Court of Appeal rules on stays of patent proceedings