Extending Pricing Rules with General Risk Functions