Text this: Application of active rules to support database integrity constraints and view management