Sun Pharmaceuticals receives favorable ruling