add img rule to stylesheet