Add get rule method
Add test
Add missing id
Replace id with data

Add import data
Add empty array
Merge pull request #17 from Pico88/task/add-get-rule-method

Task / Add get rule method
Update branch to latest merges