refactor(application): filter_rules.py 更名 rules.py 并合并 RuleHelper

规则域收敛为单一事实来源 app/application/rules.py:
- filter_rules.py 更名为 rules.py(内置规则集 + RuleParser)
- filter.py 仅含 66 行 RuleHelper(用户规则组配置访问),并入 rules.py
- 同步更新 5 处引用方导入、nettest stub 目标与架构文档
- 兼容映射 app.helper.rule 指向新路径,legacy 导入仍可用
This commit is contained in:
jxxghp
2026-08-16 17:13:51 +08:00
parent 6424f76e70
commit 5810f6bc2b
10 changed files with 82 additions and 80 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
from app.runtime.extensions.service_registry import ServiceBaseHelper, ServiceConfigHelper
from app.runtime.state import SystemHelper
from app.application.downloader import DownloaderHelper
from app.application.filter import RuleHelper
from app.application.rules import RuleHelper
from app.application.mediaserver import (
MediaServerIdentityHelper,
MediaServerHelper,