Extracting inheritance building to BaseRule