converting to new styles
new rules style