Ruler class in rule server