Edited Csd image-rule