Error "Arguments are not sufficiently instantiated" - Order of the premisses in a rule matter?

In Useful Prolog references see Books

The Craft of Prolog by Richard A O`Keefe (WorldCat )