Chain Rule for Relative Entropy