Translated rulescomp test. actually helped me catch a (stupid) bug.