XTT Rules Design and Implementation with Object-Oriented Methods