Palindromic rich words and run-length encodings