A framework to encode and infer meaning from symbols based on a ruleset.