Sorted the rules list descending on 'created_at'.
Merge origin/master
Added frrame sql for rules_static table in SQLite3