Enable rules to accept Method object as prerequisites.
Merge pull request #216 from avdi/rules-accept-method-prereqs

Enable rules to accept Method object as prerequisites.