improvemened errors for rules, modify hypercube fixes