Built constraint reader.
Constraint reader tests.
Added safety exception to context parsing.