added support for Add, Edit and Remove Rule all fixed.