add rules to deal with homepage2 and homepage3 types (re #354, re #355)