Fix fail to change precedence in lists
Simplify marking in custom rules