The easiest way to find out if the the piston rings/valve guides are shot is to get someone to follow you and get them to observe the exhaust pipe when you accelerate/de-accelerate if there is a problem with the engine it will blow blue smoke out of the exhaust, if its clean then its O.K. The backfire can only be due to either the ignition timing, Has it been timed up with a strobe light on the setup position, or incorrect inlet/exhaust tappet settings,