finished activity rule implementation