Initial commit

Adds the CSP class, which can reversibly convert CSP rules between dict-form
and string-form.