resolved all issues from bug sheet : on modification of the rule conditions or the assortment the wbd url remains the same, only on modification of the master template the wbd has to be created again. Blank Region or target group not accepted now and the dialogs shown when blank values are saved is changed to jquery dialog. Partial refactoring of code and commenting - ROHITH