rules fixes, images paths