Network Motifs Capable of Decoding Transcription Factor Dynamics