A rule-based mediator implementation for solving semantic conflicts in SQL