Add rules for portfolio page