Function ruleWithOptionsBoundToType