Encapsulate rules and frames in service. Match model against a frame