Apple Inc (AAPL.O) on Thursday agreed to loosen App Store restrictions on small developers, striking a deal in a class-action lawsuit as the iPhone maker awaits a ruling by the same judge in a separate App Store dispute brought by the developer behind "Fortnite."