Added space background and fixed style for rules