I have a significant number of custom rules (17 right now), and managing them is a pain.
In particular, usually when I want to add a new rule, I need to position it near the top, after 8 other rules and before the last 9, because the order of evaluation matters.
But when I add a new rule, it shows up at the bottom, and it is really painful to move it up. I have to long press on the rule, wait one second (that's one thousand milliseconds, but who's counting?!), select Move up, and then repeat that 9+ times. It's kind of a pain.
For example, I just added a test rule at the bottom (some other rules partially redacted):
Is there a better way to do this? I'd hoped this would get better in Venus, but it's the same. (Not surprising, really. There are a lot more important core UI issues to work on).
Then I figured, "Oh, I can just try editting the settings XML file by hand. Reordering these shouldn't be too bad."
But I can't figure out how rules are stored; windroid.db.set's XML looks like it's encoded in some special way:
<Rule>
<RuleName>AHtJHBcOIAkaBSwdQ1FfXFZf</RuleName>
<RuleDescription>ABkBERxPFxARASwNFxJTX1dZIAUCIUlAABESNgkaCxcFQkgNEAoEWTEGCwcG</RuleDescription>
<RuleID>409343803</RuleID>
<StringRep>ABkBERxPFxARASwNFxJTX1dZIAUCIUlAABESNgkaCxcFQkgNEAoEWTEGCwcG</StringRep>
It doesn't seem to be base64 or base62; Decoding as base64 comes out as gibberish:
{I ,CQ_\V_⎻␉3:4-12-16 ┘▒┬┐
Are they encrypted with some token key?
Is there a better way? I suppose I could just assume the rules are in the same order and try reordering them "blind"?
Thanks.