page type business rules

Added business rules for allowed subpage types. This is the first part of #194