Rule-based restructuring and summarizing in multidimensional data-bases