Terms and rules

Document in preparation.