(Reuters) - A federal appeals court ruled Monday that four patents related to Purdue Pharma's painkiller OxyContin are invalid, potentially bringing Teva Pharmaceutical Industries Ltd and others a step closer to introducing generic versions of the drug.