fixes #1770 - Refactored rdeckfacts definition to use facts_hash

Replaces GH-752 with tests.