Fixing location rule bug for post_type

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