strip 'inherit' and 'initial' rules