changing the background image rules