Slight changes to Relation.cpp. Added skeleton code for processing rules.