You are losing me with "apply a grade to a resource". I don't see how you can do that since a resource (file, link, webpage, textpage, etc.) is not interactive and has never been reported to the gradebook so far as I know.
I must not be understanding you at all! Try again?