change rules cssregistry and change css