When a FilterRule is created with FilterRule.ByRuleType node, we should make sure the value and parameter value data types are the same. Otherwise, when the generated FilterRule is processed in Revit, a blind pointer cast from parameter value data type to value data type could end up breaking Revit.
REVIT-219696
Declarations
Check these if you believe they are true
[x] The code base is in a better state after this PR
Purpose
When a FilterRule is created with FilterRule.ByRuleType node, we should make sure the value and parameter value data types are the same. Otherwise, when the generated FilterRule is processed in Revit, a blind pointer cast from parameter value data type to value data type could end up breaking Revit.
REVIT-219696
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@Mikhinja