plugin rule update phonegap