added regexp rule; added css classes