added rules loader