added rich comparison among Resources

pretty trivial. Allows comparison of Resources.