slight mod to resources.rules