previousRules = strea开发者_运维百科m.get_rules().data if previousRules: stream.delete_rules(previousRules)