Sync with https://github.com/blackmatrix7/ios_rule_script plus supplement of own scripts
GNU General Public License v2.0GPL-2.0