Added AppRater constructor that gets the package name from the context.