Text this: Consistency and Completeness of Rewriting in the Calculus of Constructions