The government of Indonesia has approved an Apple proposal to build a research and development facility in the country, a move that will allow Apple to comply with a government rule that at least 30 percent of components in foreign-made smartphones must be produced within the country. The government allows companies to interpret "components" as either hardware, software, or development, allowing Apple a way to obey the law without having to alter the iPhones.