rulus.class: restructure