Separate phrase modifiers

Split out inline formatting rules into separate sub