updated rule mgmt to fix string variable