OutlookRulesReader is a reader of Outlook rules (rwz) files.
A PDF of the working specification for Outlook rules files (.rwz) files can be found here.
let data = Data(contentsOfFile: "<path-to-file>.rwz")!
let file = try OutlookRulesFile(data: data)
print(file.rules.count)
print(file.rules[0].name)
print(file.rules[0].enabled)
print(file.rules[0].conditions.count)
print(file.rules[0].actions.count)
print(file.rules[0].exceptions.count)
All contributions to the specification and the implementation library are welcome and encouraged!