refactored recording rules edit to use recording rule service