rules and css adjustment for home porlets