They are Idioms. According to the Collins Concise Dictionary, they are a 'group of words whose meanings cannot be prdicted from the constituted words: (It was raining cats and dogs).'
"Your actions will come to haunt you" is not really an idiom...after all, it is "a group of words whose meaning can easily be predicted from the constituted words." An idiom is something more along the lines of "It's your shout." As a foreigner, you would never guess that that means "It's your turn to buy the drinks." The phrase you offer is more of a proverb or saying.
are you looking for examples? Like 'Be good to people you meet on the way up, you may meet them again on the way down', that sort of thing. Your turkeys come home to roost (American, I think).