everything king rama i , ruler of the chakri dynasty , could have wanted was housed within the walls which enclosed his palace , including one of the most sacred images in all of buddhism the emerald buddha .