Changes to Parent PI rules.
Updated rule for Parent PI for DSC-465
Merge branch 'master' of https://github.com/nla/banjo
Merge branch 'master' into ti_parent_pi_rule_change
Change if/else conditions into switch.
Merge pull request #590 from nla/ti_parent_pi_rule_change

Parent pi rule change, merged.