restored rulex' version