Use Rule class for entire build