How does it work?
The “aepur.rulelab.rules” file (version 1) describes rules independently of the interface. Each rule has a stable ID, a category, conditions (when), exclusions (unless), a priority from 1 to 9, a version and the examples that support it.
- After classifying, open “Rules” then “Export (JSON)”.
- Load a new file, then “Import rules”. If a column has a different name, map it.
- Rows are classified without new examples; your corrections can then improve the rules.
File fields
format, formatVersion“aepur.rulelab.rules” and 1. Any other format is rejected.
normalizationaccents, plural, typos: case ignored, accents ignored, singular = simple plural, typos flagged (never classified on their own).
decision.minSupportNumber of examples below which a learned rule suggests without classifying.
columns, categoriesAnalysed columns and known categories.
rules[].whenConditions that must all hold: { column, op, value }. op: contains, phrase, startsWith, endsWith, equals, pattern (“#” = run of digits).
rules[].unlessExclusions: the rule does not apply if any is true.
rules[].priority1 to 9. The highest priority wins; on a tie, two different categories mean “to review”.
rules[].id, version, evidence, limitsStable ID (derived from content), version introduced, supporting examples and known limits.
{
"format": "aepur.rulelab.rules",
"formatVersion": 1,
"normalization": { "accents": true, "plural": true, "typos": true },
"decision": { "minSupport": 2, "conflict": "review", "noMatch": "review" },
"columns": ["Description"],
"categories": ["Software", "Travel"],
"rules": [{
"id": "r0k3x9pa", "category": "Travel", "priority": 1,
"enabled": true, "version": 2, "origin": "learned",
"when": [{ "column": "Description", "op": "contains", "value": "uber" }],
"unless": [{ "column": "Description", "op": "contains", "value": "eats" }],
"evidence": { "support": 6, "counter": 0, "lines": [4, 18], "texts": ["Uber ride"] },
"limits": []
}]
}Frequently asked questions
Can I reuse the rules on another file?
Yes. Export the rules as JSON, then import them after loading a new file: it is classified without labelling examples again.
Does RuleLab use AI?
No. RuleLab derives readable rules from your examples using simple word statistics. No row is sent to a language model, and the same file with the same examples always gives the same result.
Are my files uploaded to a server?
No. RuleLab reads, classifies and exports your file in your browser. There is no account, no remote storage and no API key, and the site’s security policy blocks the app from sending anything over the network.