Ilghami O, Nau DS, Muñoz-Avila H, Aha DW.  2005.  Learning preconditions for planning from plan traces and HTN structure. Computational Intelligence. 21(4):388-413.