Text this: Matching and Rewriting Rules in Object-Oriented Databases.