add rule available_fields
add tests for available_fields
version 0.5.3