exploit brake_pads(car1)=
	preconditions:
		quality:car1,brake_months=6;
	postconditions:
		update quality:car1,is_in_compliance=false;
.

exploit exhaust_pipes(car1)=
	preconditions:
		quality:car1,exhaust_months>11;
	postconditions:
		update quality:car1,is_in_compliance=false;
.

exploit ac_filter(car1)=
	preconditions:
		quality:car1,odometer=120000;
	postconditions:
		update quality:car1,is_in_compliance=false;
		insert quality:car1,is_critical=true;
.

exploit afilter_v2(car2)=
	preconditions:
		quality:car2,car2_odometer=120000;
	postconditions:
		update quality:car2,car2_is_in_compliance=false;
		insert quality:car2,car2_is_critical=true;
.

exploit bpads_v2(car2)=
	preconditions:
		quality:car2,car2_brake_months=6;
	postconditions:
		update quality:car2,car2_is_in_compliance=false;
.

exploit epipes_v2(car2)=
	preconditions:
		quality:car2,car2_exhaust_months=12;
	postconditions:
		update quality:car2,car2_is_in_compliance=false;
.
exploit vacuum_pump(car2)=
	preconditions:
		quality:car2,car2_odometer=120000;
		quality:car2,car2_engine=diesel;
	postconditions:
		update quality:car2,car2_is_in_compliance=false;
		insert quality:car2,car2_is_critical=true;
.

