A Recipe for State Dependent Distributed Delay Differential Equations