Added functions to retrieve various rule elements