Upload/Download rules API for Android