Added frrame sql for rules_static table in SQLite3