fixes #1770 - Refactored rdeckfacts definition to use facts_hash