Location rules: Fixed issue for custom hierarchal post type in 'page' rule

Signed-off-by: Elliot Condon <e@elliotcondon.com>