add final rules