fixed bug, autocomplet didn't update rule condition and action