Add Connected Record Fields to Form Display Rules

I would like to be able to hide fields on a form based on the connected record it is going to be connected to once submitted.

Example: You add a record using a form which has 20 fields but depending on what the connected record is only 5 fields are applicable so you want to only show the 5 not the 20.